get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 100721,
    "url": "https://patches.dpdk.org/api/patches/100721/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20211007220013.355530-3-maxime.coquelin@redhat.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": "<20211007220013.355530-3-maxime.coquelin@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211007220013.355530-3-maxime.coquelin@redhat.com",
    "date": "2021-10-07T22:00:01",
    "name": "[RFC,02/14] vhost: hide inflight async structure",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "5758c916fdc70ce48ca224ded6c9bc3e6110b56b",
    "submitter": {
        "id": 512,
        "url": "https://patches.dpdk.org/api/people/512/?format=api",
        "name": "Maxime Coquelin",
        "email": "maxime.coquelin@redhat.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/20211007220013.355530-3-maxime.coquelin@redhat.com/mbox/",
    "series": [
        {
            "id": 19439,
            "url": "https://patches.dpdk.org/api/series/19439/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=19439",
            "date": "2021-10-07T22:00:01",
            "name": "vhost: clean-up and simplify async implementation",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/19439/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/100721/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/100721/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 mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id C88DEA0C43;\n\tFri,  8 Oct 2021 00:10:21 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id B0D2F4116F;\n\tFri,  8 Oct 2021 00:10:21 +0200 (CEST)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.133.124])\n by mails.dpdk.org (Postfix) with ESMTP id 0D532410F7\n for <dev@dpdk.org>; Fri,  8 Oct 2021 00:10:20 +0200 (CEST)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-400-M-YWXTsKN-aNNCpGCVhDMw-1; Thu, 07 Oct 2021 18:10:19 -0400",
            "from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com\n [10.5.11.16])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id E3C8D1A2B58C;\n Thu,  7 Oct 2021 22:00:22 +0000 (UTC)",
            "from max-t490s.redhat.com (unknown [10.39.208.18])\n by smtp.corp.redhat.com (Postfix) with ESMTP id 26C765C1A3;\n Thu,  7 Oct 2021 22:00:20 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1633644620;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=ShlvuPlRXIHMFCugihnLX86DsVTwWXwU/xBrPygUMcI=;\n b=DLFhfUztjsDlQfj7miwJZ9QxVe6aghzrMGZKUM+UhLfq5/7XUn8kCGdJL4DezmFK72pVuo\n KBwmvIMss7WXhN1VZ1C7ioodiCq1G+Gh24+0srch+EiGjtyt/U8p00tVBA6BmK2v/y8zvE\n 0i5XH4rmDQceIizn0jDOQXKdUihjUgg=",
        "X-MC-Unique": "M-YWXTsKN-aNNCpGCVhDMw-1",
        "From": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "To": "dev@dpdk.org, chenbo.xia@intel.com, jiayu.hu@intel.com,\n yuanx.wang@intel.com, wenwux.ma@intel.com, bruce.richardson@intel.com,\n john.mcnamara@intel.com",
        "Cc": "Maxime Coquelin <maxime.coquelin@redhat.com>",
        "Date": "Fri,  8 Oct 2021 00:00:01 +0200",
        "Message-Id": "<20211007220013.355530-3-maxime.coquelin@redhat.com>",
        "In-Reply-To": "<20211007220013.355530-1-maxime.coquelin@redhat.com>",
        "References": "<20211007220013.355530-1-maxime.coquelin@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.16",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=maxime.coquelin@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"",
        "Subject": "[dpdk-dev] [RFC 02/14] vhost: hide inflight async structure",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.29",
        "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": "This patch moves async_inflight_info struct to internal\nheader since it should not be part of the API.\n\nSigned-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>\n---\n lib/vhost/rte_vhost_async.h | 9 ---------\n lib/vhost/vhost.h           | 9 +++++++++\n 2 files changed, 9 insertions(+), 9 deletions(-)",
    "diff": "diff --git a/lib/vhost/rte_vhost_async.h b/lib/vhost/rte_vhost_async.h\nindex ad71555a7f..789b80f5a0 100644\n--- a/lib/vhost/rte_vhost_async.h\n+++ b/lib/vhost/rte_vhost_async.h\n@@ -83,15 +83,6 @@ struct rte_vhost_async_channel_ops {\n \t\tuint16_t max_packets);\n };\n \n-/**\n- * inflight async packet information\n- */\n-struct async_inflight_info {\n-\tstruct rte_mbuf *mbuf;\n-\tuint16_t descs; /* num of descs inflight */\n-\tuint16_t nr_buffers; /* num of buffers inflight for packed ring */\n-};\n-\n /**\n  *  async channel features\n  */\ndiff --git a/lib/vhost/vhost.h b/lib/vhost/vhost.h\nindex ba33c6a69d..9de87d20cc 100644\n--- a/lib/vhost/vhost.h\n+++ b/lib/vhost/vhost.h\n@@ -119,6 +119,15 @@ struct vring_used_elem_packed {\n \tuint32_t count;\n };\n \n+/**\n+ * inflight async packet information\n+ */\n+struct async_inflight_info {\n+\tstruct rte_mbuf *mbuf;\n+\tuint16_t descs; /* num of descs inflight */\n+\tuint16_t nr_buffers; /* num of buffers inflight for packed ring */\n+};\n+\n struct vhost_async {\n \t/* operation callbacks for DMA */\n \tstruct rte_vhost_async_channel_ops ops;\n",
    "prefixes": [
        "RFC",
        "02/14"
    ]
}