get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/55855/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 55855,
    "url": "http://patches.dpdk.org/api/patches/55855/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/afc0da99d44797d967aafd5577bc7b75bc779e6e.1562058723.git.jackmin@mellanox.com/",
    "project": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/projects/1/?format=api",
        "name": "DPDK",
        "link_name": "dpdk",
        "list_id": "dev.dpdk.org",
        "list_email": "dev@dpdk.org",
        "web_url": "http://core.dpdk.org",
        "scm_url": "git://dpdk.org/dpdk",
        "webscm_url": "http://git.dpdk.org/dpdk",
        "list_archive_url": "https://inbox.dpdk.org/dev",
        "list_archive_url_format": "https://inbox.dpdk.org/dev/{}",
        "commit_url_format": ""
    },
    "msgid": "<afc0da99d44797d967aafd5577bc7b75bc779e6e.1562058723.git.jackmin@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/afc0da99d44797d967aafd5577bc7b75bc779e6e.1562058723.git.jackmin@mellanox.com",
    "date": "2019-07-02T09:45:53",
    "name": "[v4,2/4] net/mlx5: support match GRE protocol on DR engine",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "80bf430a7a3e78d38de0c5ef2061b741ed39fde2",
    "submitter": {
        "id": 1065,
        "url": "http://patches.dpdk.org/api/people/1065/?format=api",
        "name": "Xiaoyu Min",
        "email": "jackmin@mellanox.com"
    },
    "delegate": {
        "id": 319,
        "url": "http://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/afc0da99d44797d967aafd5577bc7b75bc779e6e.1562058723.git.jackmin@mellanox.com/mbox/",
    "series": [
        {
            "id": 5274,
            "url": "http://patches.dpdk.org/api/series/5274/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=5274",
            "date": "2019-07-02T09:45:51",
            "name": "match on GRE's key",
            "version": 4,
            "mbox": "http://patches.dpdk.org/series/5274/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/55855/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/55855/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 01BF21B964;\n\tTue,  2 Jul 2019 11:46:32 +0200 (CEST)",
            "from git-send-mailer.rdmz.labs.mlnx (unknown [37.142.13.130])\n\tby dpdk.org (Postfix) with ESMTP id 7FBFD5680\n\tfor <dev@dpdk.org>; Tue,  2 Jul 2019 11:46:31 +0200 (CEST)"
        ],
        "From": "Xiaoyu Min <jackmin@mellanox.com>",
        "To": "orika@mellanox.com, Shahaf Shuler <shahafs@mellanox.com>,\n\tYongseok Koh <yskoh@mellanox.com>",
        "Cc": "dev@dpdk.org",
        "Date": "Tue,  2 Jul 2019 17:45:53 +0800",
        "Message-Id": "<afc0da99d44797d967aafd5577bc7b75bc779e6e.1562058723.git.jackmin@mellanox.com>",
        "X-Mailer": "git-send-email 2.21.0",
        "In-Reply-To": "<cover.1562058723.git.jackmin@mellanox.com>",
        "References": "<20190624154018.128379-1-jackmin@mellanox.com>\n\t<cover.1562058723.git.jackmin@mellanox.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v4 2/4] net/mlx5: support match GRE protocol on\n\tDR engine",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://mails.dpdk.org/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "DR engine support matching on GRE protocol field without MPLS supports.\nSo bypassing the MPLS check when DR is enabled.\n\nSigned-off-by: Xiaoyu Min <jackmin@mellanox.com>\n---\n drivers/net/mlx5/mlx5_flow.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c\nindex cd04c446b5..8c43c848c0 100644\n--- a/drivers/net/mlx5/mlx5_flow.c\n+++ b/drivers/net/mlx5/mlx5_flow.c\n@@ -1610,6 +1610,7 @@ mlx5_flow_validate_item_gre(const struct rte_flow_item *item,\n \t\t sizeof(struct rte_flow_item_gre), error);\n \tif (ret < 0)\n \t\treturn ret;\n+#ifndef HAVE_MLX5DV_DR\n #ifndef HAVE_IBV_DEVICE_MPLS_SUPPORT\n \tif (spec && (spec->protocol & mask->protocol))\n \t\treturn rte_flow_error_set(error, ENOTSUP,\n@@ -1617,6 +1618,7 @@ mlx5_flow_validate_item_gre(const struct rte_flow_item *item,\n \t\t\t\t\t  \"without MPLS support the\"\n \t\t\t\t\t  \" specification cannot be used for\"\n \t\t\t\t\t  \" filtering\");\n+#endif\n #endif\n \treturn 0;\n }\n",
    "prefixes": [
        "v4",
        "2/4"
    ]
}