get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 96049,
    "url": "http://patchwork.dpdk.org/api/patches/96049/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210719081022.12949-6-cheng1.jiang@intel.com/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20210719081022.12949-6-cheng1.jiang@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20210719081022.12949-6-cheng1.jiang@intel.com",
    "date": "2021-07-19T08:10:22",
    "name": "[v6,5/5] doc: update doc for inflight packets clear API in vhost lib",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "e007e624d9021c0da0509f76b680a5c153a5272b",
    "submitter": {
        "id": 1530,
        "url": "http://patchwork.dpdk.org/api/people/1530/?format=api",
        "name": "Jiang, Cheng1",
        "email": "Cheng1.jiang@intel.com"
    },
    "delegate": {
        "id": 2642,
        "url": "http://patchwork.dpdk.org/api/users/2642/?format=api",
        "username": "mcoquelin",
        "first_name": "Maxime",
        "last_name": "Coquelin",
        "email": "maxime.coquelin@redhat.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20210719081022.12949-6-cheng1.jiang@intel.com/mbox/",
    "series": [
        {
            "id": 17889,
            "url": "http://patchwork.dpdk.org/api/series/17889/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17889",
            "date": "2021-07-19T08:10:17",
            "name": "vhost: handle memory hotplug for async vhost",
            "version": 6,
            "mbox": "http://patchwork.dpdk.org/series/17889/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/96049/comments/",
    "check": "fail",
    "checks": "http://patchwork.dpdk.org/api/patches/96049/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 00C20A034F;\n\tMon, 19 Jul 2021 10:27:50 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EAEEB4119B;\n\tMon, 19 Jul 2021 10:27:30 +0200 (CEST)",
            "from mga07.intel.com (mga07.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 95AFF410DD\n for <dev@dpdk.org>; Mon, 19 Jul 2021 10:27:28 +0200 (CEST)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 19 Jul 2021 01:27:28 -0700",
            "from dpdk_jiangcheng.sh.intel.com ([10.67.119.149])\n by fmsmga002.fm.intel.com with ESMTP; 19 Jul 2021 01:27:26 -0700"
        ],
        "X-IronPort-AV": [
            "E=McAfee;i=\"6200,9189,10049\"; a=\"274841397\"",
            "E=Sophos;i=\"5.84,251,1620716400\"; d=\"scan'208\";a=\"274841397\"",
            "E=Sophos;i=\"5.84,251,1620716400\"; d=\"scan'208\";a=\"509279837\""
        ],
        "X-ExtLoop1": "1",
        "From": "Cheng Jiang <cheng1.jiang@intel.com>",
        "To": "maxime.coquelin@redhat.com,\n\tChenbo.Xia@intel.com",
        "Cc": "dev@dpdk.org, jiayu.hu@intel.com, yvonnex.yang@intel.com,\n Cheng Jiang <cheng1.jiang@intel.com>",
        "Date": "Mon, 19 Jul 2021 08:10:22 +0000",
        "Message-Id": "<20210719081022.12949-6-cheng1.jiang@intel.com>",
        "X-Mailer": "git-send-email 2.29.2",
        "In-Reply-To": "<20210719081022.12949-1-cheng1.jiang@intel.com>",
        "References": "<20210602042802.31943-1-cheng1.jiang@intel.com>\n <20210719081022.12949-1-cheng1.jiang@intel.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v6 5/5] doc: update doc for inflight packets\n clear API in vhost lib",
        "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": "Update the program guide and release notes for inflight packets clear\nAPI in vhost lib.\n\nSigned-off-by: Cheng Jiang <cheng1.jiang@intel.com>\n---\n doc/guides/prog_guide/vhost_lib.rst    | 5 +++++\n doc/guides/rel_notes/release_21_08.rst | 5 +++++\n 2 files changed, 10 insertions(+)",
    "diff": "diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc/guides/prog_guide/vhost_lib.rst\nindex d18fb98910..3cdfdc0725 100644\n--- a/doc/guides/prog_guide/vhost_lib.rst\n+++ b/doc/guides/prog_guide/vhost_lib.rst\n@@ -281,6 +281,11 @@ The following is an overview of some key Vhost API functions:\n   Poll enqueue completion status from async data path. Completed packets\n   are returned to applications through ``pkts``.\n \n+* ``rte_vhost_clear_queue_thread_unsafe(vid, queue_id, **pkts, count)``\n+\n+  Clear inflight packets which are submitted to DMA engine in vhost async data\n+  path. Completed packets are returned to applications through ``pkts``.\n+\n Vhost-user Implementations\n --------------------------\n \ndiff --git a/doc/guides/rel_notes/release_21_08.rst b/doc/guides/rel_notes/release_21_08.rst\nindex 6a902ef9ac..482d16ba13 100644\n--- a/doc/guides/rel_notes/release_21_08.rst\n+++ b/doc/guides/rel_notes/release_21_08.rst\n@@ -117,6 +117,11 @@ New Features\n   The experimental PMD power management API now supports managing\n   multiple Ethernet Rx queues per lcore.\n \n+* **Added inflight packets clear API in vhost library.**\n+\n+  Added an API which can clear the inflight packets submitted to DMA\n+  engine in vhost async data path.\n+\n \n Removed Items\n -------------\n",
    "prefixes": [
        "v6",
        "5/5"
    ]
}