get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 40802,
    "url": "https://patches.dpdk.org/api/patches/40802/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20180608032224.22049-3-tiwei.bie@intel.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": "<20180608032224.22049-3-tiwei.bie@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20180608032224.22049-3-tiwei.bie@intel.com",
    "date": "2018-06-08T03:22:24",
    "name": "[dpdk-dev,v3,2/2] net/ifcvf: enable the host notifier support",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b7413c0922a2b3cc8e3922ee3f2ea2376abcb3e5",
    "submitter": {
        "id": 617,
        "url": "https://patches.dpdk.org/api/people/617/?format=api",
        "name": "Tiwei Bie",
        "email": "tiwei.bie@intel.com"
    },
    "delegate": {
        "id": 2642,
        "url": "https://patches.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20180608032224.22049-3-tiwei.bie@intel.com/mbox/",
    "series": [
        {
            "id": 40,
            "url": "https://patches.dpdk.org/api/series/40/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=40",
            "date": "2018-06-08T03:22:22",
            "name": "vhost: support host notifier",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/40/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/40802/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/40802/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 5F7491B1E6;\n\tFri,  8 Jun 2018 05:22:20 +0200 (CEST)",
            "from mga17.intel.com (mga17.intel.com [192.55.52.151])\n\tby dpdk.org (Postfix) with ESMTP id A706E1AFFD\n\tfor <dev@dpdk.org>; Fri,  8 Jun 2018 05:22:16 +0200 (CEST)",
            "from fmsmga008.fm.intel.com ([10.253.24.58])\n\tby fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t07 Jun 2018 20:22:15 -0700",
            "from debian.sh.intel.com ([10.67.104.203])\n\tby fmsmga008.fm.intel.com with ESMTP; 07 Jun 2018 20:22:14 -0700"
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.49,489,1520924400\"; d=\"scan'208\";a=\"46168864\"",
        "From": "Tiwei Bie <tiwei.bie@intel.com>",
        "To": "maxime.coquelin@redhat.com,\n\tdev@dpdk.org",
        "Cc": "xiao.w.wang@intel.com",
        "Date": "Fri,  8 Jun 2018 11:22:24 +0800",
        "Message-Id": "<20180608032224.22049-3-tiwei.bie@intel.com>",
        "X-Mailer": "git-send-email 2.17.0",
        "In-Reply-To": "<20180608032224.22049-1-tiwei.bie@intel.com>",
        "References": "<20180608032224.22049-1-tiwei.bie@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v3 2/2] net/ifcvf: enable the host notifier\n\tsupport",
        "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": "The necessary vDPA ops have already been implemented\nin ifcvf driver. So just need to announce the necessary\nprotocol features to enable the host notifier support.\n\nSigned-off-by: Tiwei Bie <tiwei.bie@intel.com>\n---\n drivers/net/ifc/ifcvf_vdpa.c | 3 +++\n 1 file changed, 3 insertions(+)",
    "diff": "diff --git a/drivers/net/ifc/ifcvf_vdpa.c b/drivers/net/ifc/ifcvf_vdpa.c\nindex c6627c23a..b8e22daf3 100644\n--- a/drivers/net/ifc/ifcvf_vdpa.c\n+++ b/drivers/net/ifc/ifcvf_vdpa.c\n@@ -646,6 +646,9 @@ ifcvf_get_vdpa_features(int did, uint64_t *features)\n \n #define VDPA_SUPPORTED_PROTOCOL_FEATURES \\\n \t\t(1ULL << VHOST_USER_PROTOCOL_F_REPLY_ACK | \\\n+\t\t 1ULL << VHOST_USER_PROTOCOL_F_SLAVE_REQ | \\\n+\t\t 1ULL << VHOST_USER_PROTOCOL_F_SLAVE_SEND_FD | \\\n+\t\t 1ULL << VHOST_USER_PROTOCOL_F_HOST_NOTIFIER | \\\n \t\t 1ULL << VHOST_USER_PROTOCOL_F_LOG_SHMFD)\n static int\n ifcvf_get_protocol_features(int did __rte_unused, uint64_t *features)\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "2/2"
    ]
}