get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 76197,
    "url": "https://patches.dpdk.org/api/patches/76197/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1598944057-32690-1-git-send-email-changpeng.liu@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": "<1598944057-32690-1-git-send-email-changpeng.liu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1598944057-32690-1-git-send-email-changpeng.liu@intel.com",
    "date": "2020-09-01T07:07:37",
    "name": "vhost: return ready when at least 1 vring is configured",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "dc153a96eaf81a611af5f07fc19ee83d03c97c38",
    "submitter": {
        "id": 565,
        "url": "https://patches.dpdk.org/api/people/565/?format=api",
        "name": "Liu, Changpeng",
        "email": "changpeng.liu@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/1598944057-32690-1-git-send-email-changpeng.liu@intel.com/mbox/",
    "series": [
        {
            "id": 11867,
            "url": "https://patches.dpdk.org/api/series/11867/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=11867",
            "date": "2020-09-01T07:07:37",
            "name": "vhost: return ready when at least 1 vring is configured",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/11867/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/76197/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/76197/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@inbox.dpdk.org",
        "Delivered-To": "patchwork@inbox.dpdk.org",
        "Received": [
            "from dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id E8B11A04AC;\n\tTue,  1 Sep 2020 08:30:56 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 4D856E07;\n\tTue,  1 Sep 2020 08:30:56 +0200 (CEST)",
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n by dpdk.org (Postfix) with ESMTP id AC07ECF3\n for <dev@dpdk.org>; Tue,  1 Sep 2020 08:30:54 +0200 (CEST)",
            "from fmsmga004.fm.intel.com ([10.253.24.48])\n by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 31 Aug 2020 23:30:53 -0700",
            "from fedora.sh.intel.com ([10.67.114.173])\n by fmsmga004.fm.intel.com with ESMTP; 31 Aug 2020 23:30:51 -0700"
        ],
        "IronPort-SDR": [
            "\n 2v3RceB/CNITyvqDxJLnkfzQN8u3m6Pkx5KghFGi1NeRtvibdaULgvFPacK5/w1A3T189PiH7K\n rLrQ/v2wgyqQ==",
            "\n 43Sprr+aaKpMs1pBZ+BQY3r8qlOWlLHZm5pTuWKzRBgs/gomZqeKEKqgJxcilcVSqzvd1xTyTy\n frK2Hx7ceV0g=="
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6000,8403,9730\"; a=\"156372763\"",
            "E=Sophos;i=\"5.76,378,1592895600\"; d=\"scan'208\";a=\"156372763\"",
            "E=Sophos;i=\"5.76,378,1592895600\"; d=\"scan'208\";a=\"325224446\""
        ],
        "X-Amp-Result": "SKIPPED(no attachment in message)",
        "X-Amp-File-Uploaded": "False",
        "X-ExtLoop1": "1",
        "From": "Changpeng Liu <changpeng.liu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "changpeng.liu@intel.com, matan@mellanox.com, maxime.coquelin@redhat.com,\n chenbo.xia@intel.com, tomasz.zawadzki@intel.com",
        "Date": "Tue,  1 Sep 2020 15:07:37 +0800",
        "Message-Id": "<1598944057-32690-1-git-send-email-changpeng.liu@intel.com>",
        "X-Mailer": "git-send-email 1.9.3",
        "Subject": "[dpdk-dev] [PATCH] vhost: return ready when at least 1 vring is\n\tconfigured",
        "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 <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 <mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Commit d0fcc38f \"vhost: improve device readiness notifications\"\nneeds at least 2 vrings before changing the device state to\nready, this is fine for NET device but not correct for BLK\ndevice.\n\nThe number of vring required should be based on the device\ntype, e.g. virtio_scsi device needs at least 3 vrings, and\nvirtio_net needs at least 2 vrings, virtio_blk needs at least\n1 vring. So instead of doing it in vhost library it's better\nthat the application who uses this library do this check.\n\nSigned-off-by: Changpeng Liu <changpeng.liu@intel.com>\n---\n lib/librte_vhost/vhost_user.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/lib/librte_vhost/vhost_user.c b/lib/librte_vhost/vhost_user.c\nindex c3c924f..4d1883c 100644\n--- a/lib/librte_vhost/vhost_user.c\n+++ b/lib/librte_vhost/vhost_user.c\n@@ -1343,7 +1343,7 @@\n \t       vq->enabled;\n }\n \n-#define VIRTIO_DEV_NUM_VQS_TO_BE_READY 2u\n+#define VIRTIO_DEV_NUM_VQS_TO_BE_READY 1u\n \n static int\n virtio_is_ready(struct virtio_net *dev)\n",
    "prefixes": []
}