get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 52909,
    "url": "http://patches.dpdk.org/api/patches/52909/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1555586930-109097-3-git-send-email-orika@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": "<1555586930-109097-3-git-send-email-orika@mellanox.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1555586930-109097-3-git-send-email-orika@mellanox.com",
    "date": "2019-04-18T11:28:43",
    "name": "[v2,2/9] net/mlx5: fix meson build for Direct Rules",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "6fb1bdf6601ff57739f7ee95752327ed05ef2aea",
    "submitter": {
        "id": 795,
        "url": "http://patches.dpdk.org/api/people/795/?format=api",
        "name": "Ori Kam",
        "email": "orika@mellanox.com"
    },
    "delegate": {
        "id": 6624,
        "url": "http://patches.dpdk.org/api/users/6624/?format=api",
        "username": "shahafs",
        "first_name": "Shahaf",
        "last_name": "Shuler",
        "email": "shahafs@mellanox.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1555586930-109097-3-git-send-email-orika@mellanox.com/mbox/",
    "series": [
        {
            "id": 4373,
            "url": "http://patches.dpdk.org/api/series/4373/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=4373",
            "date": "2019-04-18T11:28:44",
            "name": "net/mlx5: add Direct Verbs E-Switch support",
            "version": 2,
            "mbox": "http://patches.dpdk.org/series/4373/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/52909/comments/",
    "check": "fail",
    "checks": "http://patches.dpdk.org/api/patches/52909/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 A5FF61B965;\n\tThu, 18 Apr 2019 13:29:07 +0200 (CEST)",
            "from mellanox.co.il (mail-il-dmz.mellanox.com [193.47.165.129])\n\tby dpdk.org (Postfix) with ESMTP id 800F71B944\n\tfor <dev@dpdk.org>; Thu, 18 Apr 2019 13:29:00 +0200 (CEST)",
            "from Internal Mail-Server by MTLPINE1 (envelope-from\n\torika@mellanox.com)\n\twith ESMTPS (AES256-SHA encrypted); 18 Apr 2019 14:28:58 +0300",
            "from pegasus03.mtr.labs.mlnx (pegasus03.mtr.labs.mlnx\n\t[10.210.16.124])\n\tby labmailer.mlnx (8.13.8/8.13.8) with ESMTP id x3IBSwju024378;\n\tThu, 18 Apr 2019 14:28:58 +0300"
        ],
        "From": "Ori Kam <orika@mellanox.com>",
        "To": "yskoh@mellanox.com, shahafs@mellanox.com, matan@mellanox.com,\n\tviacheslavo@mellanox.com, motih@mellanox.com",
        "Cc": "dev@dpdk.org, orika@mellanox.com",
        "Date": "Thu, 18 Apr 2019 11:28:43 +0000",
        "Message-Id": "<1555586930-109097-3-git-send-email-orika@mellanox.com>",
        "X-Mailer": "git-send-email 1.8.3.1",
        "In-Reply-To": "<1555586930-109097-1-git-send-email-orika@mellanox.com>",
        "References": "<1555276357-4892-1-git-send-email-orika@mellanox.com>\n\t<1555586930-109097-1-git-send-email-orika@mellanox.com>",
        "Subject": "[dpdk-dev] [PATCH v2 2/9] net/mlx5: fix meson build for Direct Rules",
        "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 meson build was missing the define for Direct Rules.\n\nFixes: 4f84a19779ca (\"net/mlx5: add Direct Rules API\")\nCc: orika@mellanox.com\n\nSigned-off-by: Ori Kam <orika@mellanox.com>\n---\nv2:\n* Address ML comments.\n---\n drivers/net/mlx5/meson.build | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/drivers/net/mlx5/meson.build b/drivers/net/mlx5/meson.build\nindex a4c684e..0037e15 100644\n--- a/drivers/net/mlx5/meson.build\n+++ b/drivers/net/mlx5/meson.build\n@@ -111,6 +111,8 @@ if build\n \t\t'mlx5dv_devx_obj_create' ],\n \t\t[ 'HAVE_IBV_FLOW_DEVX_COUNTERS', 'infiniband/mlx5dv.h',\n \t\t'MLX5DV_FLOW_ACTION_COUNTERS_DEVX' ],\n+\t\t[ 'HAVE_MLX5DV_DR', 'infiniband/mlx5dv.h',\n+\t\t'MLX5DV_DR_NS_TYPE_TERMINATING' ],\n \t\t[ 'HAVE_SUPPORTED_40000baseKR4_Full', 'linux/ethtool.h',\n \t\t'SUPPORTED_40000baseKR4_Full' ],\n \t\t[ 'HAVE_SUPPORTED_40000baseCR4_Full', 'linux/ethtool.h',\n",
    "prefixes": [
        "v2",
        "2/9"
    ]
}