get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56740,
    "url": "https://patches.dpdk.org/api/patches/56740/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/70e5550c339eb720592d2b364069f74f232137a3.1563478168.git.dekelp@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": "<70e5550c339eb720592d2b364069f74f232137a3.1563478168.git.dekelp@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/70e5550c339eb720592d2b364069f74f232137a3.1563478168.git.dekelp@mellanox.com",
    "date": "2019-07-18T19:41:57",
    "name": "net/mlx5: fix define of added tunnel layer bit",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "e4eb8737d4a54842b1b10424a48e5758de1b9d6f",
    "submitter": {
        "id": 1082,
        "url": "https://patches.dpdk.org/api/people/1082/?format=api",
        "name": "Dekel Peled",
        "email": "dekelp@mellanox.com"
    },
    "delegate": {
        "id": 3268,
        "url": "https://patches.dpdk.org/api/users/3268/?format=api",
        "username": "rasland",
        "first_name": "Raslan",
        "last_name": "Darawsheh",
        "email": "rasland@nvidia.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/70e5550c339eb720592d2b364069f74f232137a3.1563478168.git.dekelp@mellanox.com/mbox/",
    "series": [
        {
            "id": 5605,
            "url": "https://patches.dpdk.org/api/series/5605/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=5605",
            "date": "2019-07-18T19:41:57",
            "name": "net/mlx5: fix define of added tunnel layer bit",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/5605/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/56740/comments/",
    "check": "fail",
    "checks": "https://patches.dpdk.org/api/patches/56740/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 6A82B1DBF;\n\tThu, 18 Jul 2019 21:42:04 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 703F81C01\n\tfor <dev@dpdk.org>; Thu, 18 Jul 2019 21:42:03 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE2 (envelope-from\n\tdekelp@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 18 Jul 2019 22:42:02 +0300",
            "from mtl-vdi-280.wap.labs.mlnx. (mtl-vdi-280.wap.labs.mlnx\n\t[10.128.130.87])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x6IJg2K4021895;\n\tThu, 18 Jul 2019 22:42:02 +0300"
        ],
        "From": "Dekel Peled <dekelp@mellanox.com>",
        "To": "yskoh@mellanox.com, viacheslavo@mellanox.com, shahafs@mellanox.com",
        "Cc": "jackmin@mellanox.com, orika@mellanox.com, dev@dpdk.org",
        "Date": "Thu, 18 Jul 2019 22:41:57 +0300",
        "Message-Id": "<70e5550c339eb720592d2b364069f74f232137a3.1563478168.git.dekelp@mellanox.com>",
        "X-Mailer": "git-send-email 1.7.1",
        "Subject": "[dpdk-dev] [PATCH] net/mlx5: fix define of added tunnel layer bit",
        "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": "The new define MLX5_FLOW_LAYER_IPIP is using the same value as\nexisting define MLX5_FLOW_LAYER_GRE_KEY.\nThis patch updates the values to be in order.\n\nFixes: 1b5624cd9062 (\"net/mlx5: support IP-in-IP tunnel\")\nSigned-off-by: Dekel Peled <dekelp@mellanox.com>\n---\n drivers/net/mlx5/mlx5_flow.h | 4 ++--\n 1 file changed, 2 insertions(+), 2 deletions(-)",
    "diff": "diff --git a/drivers/net/mlx5/mlx5_flow.h b/drivers/net/mlx5/mlx5_flow.h\nindex ece967a..3f96bec 100644\n--- a/drivers/net/mlx5/mlx5_flow.h\n+++ b/drivers/net/mlx5/mlx5_flow.h\n@@ -58,8 +58,8 @@\n #define MLX5_FLOW_LAYER_ICMP6 (1u << 19)\n #define MLX5_FLOW_LAYER_GRE_KEY (1u << 20)\n \n-#define MLX5_FLOW_LAYER_IPIP (1u << 20)\n-#define MLX5_FLOW_LAYER_IPV6_ENCAP (1u << 21)\n+#define MLX5_FLOW_LAYER_IPIP (1u << 21)\n+#define MLX5_FLOW_LAYER_IPV6_ENCAP (1u << 22)\n \n /* Outer Masks. */\n #define MLX5_FLOW_LAYER_OUTER_L3 \\\n",
    "prefixes": []
}