get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 38349,
    "url": "https://patches.dpdk.org/api/patches/38349/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180417151436.161374-11-xuemingl@mellanox.com/",
    "project": {
        "id": 1,
        "url": "https://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": "<20180417151436.161374-11-xuemingl@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180417151436.161374-11-xuemingl@mellanox.com",
    "date": "2018-04-17T15:14:35",
    "name": "[dpdk-dev,v4,10/11] net/mlx5: allow flow tunnel ID 0 with outer pattern",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "615f82a74407012aa98dac3c2f1bdd6eae7c9c21",
    "submitter": {
        "id": 814,
        "url": "https://patches.dpdk.org/api/people/814/?format=api",
        "name": "Xueming Li",
        "email": "xuemingl@mellanox.com"
    },
    "delegate": {
        "id": 6624,
        "url": "https://patches.dpdk.org/api/users/6624/?format=api",
        "username": "shahafs",
        "first_name": "Shahaf",
        "last_name": "Shuler",
        "email": "shahafs@mellanox.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180417151436.161374-11-xuemingl@mellanox.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/38349/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/38349/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 1337D1B03F;\n\tTue, 17 Apr 2018 17:30:33 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 775D8D4A6\n\tfor <dev@dpdk.org>; Tue, 17 Apr 2018 17:30:06 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\txuemingl@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 17 Apr 2018 18:16:36 +0300",
            "from dev-r630-06.mtbc.labs.mlnx (dev-r630-06.mtbc.labs.mlnx\n\t[10.12.205.180])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id w3HFFHH4012549;\n\tTue, 17 Apr 2018 18:15:18 +0300",
            "from dev-r630-06.mtbc.labs.mlnx (localhost [127.0.0.1])\n\tby dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7) with ESMTP id\n\tw3HFFHTM161452; Tue, 17 Apr 2018 23:15:17 +0800",
            "(from xuemingl@localhost)\n\tby dev-r630-06.mtbc.labs.mlnx (8.14.7/8.14.7/Submit) id\n\tw3HFFH1v161451; Tue, 17 Apr 2018 23:15:17 +0800"
        ],
        "From": "Xueming Li <xuemingl@mellanox.com>",
        "To": "Nelio Laranjeiro <nelio.laranjeiro@6wind.com>,\n\tShahaf Shuler <shahafs@mellanox.com>",
        "Cc": "Xueming Li <xuemingl@mellanox.com>, dev@dpdk.org",
        "Date": "Tue, 17 Apr 2018 23:14:35 +0800",
        "Message-Id": "<20180417151436.161374-11-xuemingl@mellanox.com>",
        "X-Mailer": "git-send-email 2.13.3",
        "In-Reply-To": [
            "<20180417151436.161374-1-xuemingl@mellanox.com>",
            "<20180413112023.106420-1-xuemingl@mellanox.com>"
        ],
        "References": [
            "<20180417151436.161374-1-xuemingl@mellanox.com>",
            "<20180413112023.106420-1-xuemingl@mellanox.com>"
        ],
        "Subject": "[dpdk-dev] [PATCH v4 10/11] net/mlx5: allow flow tunnel ID 0 with\n\touter pattern",
        "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://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<https://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Tunnel w/o tunnel id pattern could match any non-tunneled packet,\nthis patch allowed tunnel w/o tunnel id pattern after proper outer spec.\n\nSigned-off-by: Xueming Li <xuemingl@mellanox.com>\nAcked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>\n---\n drivers/net/mlx5/mlx5_flow.c | 3 ++-\n 1 file changed, 2 insertions(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow.c b/drivers/net/mlx5/mlx5_flow.c\nindex 1a7601cd9..c30a6d1b1 100644\n--- a/drivers/net/mlx5/mlx5_flow.c\n+++ b/drivers/net/mlx5/mlx5_flow.c\n@@ -1767,7 +1767,8 @@ mlx5_flow_create_vxlan(const struct rte_flow_item *item,\n \t * before will also match this rule.\n \t * To avoid such situation, VNI 0 is currently refused.\n \t */\n-\tif (!vxlan.val.tunnel_id)\n+\t/* Only allow tunnel w/o tunnel id pattern after proper outer spec. */\n+\tif (parser->out_layer == HASH_RXQ_ETH && !vxlan.val.tunnel_id)\n \t\treturn rte_flow_error_set(data->error, EINVAL,\n \t\t\t\t\t  RTE_FLOW_ERROR_TYPE_ITEM,\n \t\t\t\t\t  item,\n",
    "prefixes": [
        "dpdk-dev",
        "v4",
        "10/11"
    ]
}