Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/96188/?format=api
http://patchwork.dpdk.org/api/patches/96188/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20210722040907.20468-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": "<20210722040907.20468-6-cheng1.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210722040907.20468-6-cheng1.jiang@intel.com", "date": "2021-07-22T04:09:07", "name": "[v7,5/5] doc: update doc for queue clear API in vhost lib", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "78f23eb50f06006cf6b46329e4231c90467eb248", "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/20210722040907.20468-6-cheng1.jiang@intel.com/mbox/", "series": [ { "id": 17945, "url": "http://patchwork.dpdk.org/api/series/17945/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17945", "date": "2021-07-22T04:09:02", "name": "vhost: handle memory hotplug for async vhost", "version": 7, "mbox": "http://patchwork.dpdk.org/series/17945/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/96188/comments/", "check": "fail", "checks": "http://patchwork.dpdk.org/api/patches/96188/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 522E3A0C45;\n\tThu, 22 Jul 2021 06:26:55 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 476F54111B;\n\tThu, 22 Jul 2021 06:26:36 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id E5CE641109\n for <dev@dpdk.org>; Thu, 22 Jul 2021 06:26:34 +0200 (CEST)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 21 Jul 2021 21:26:34 -0700", "from dpdk_jiangcheng.sh.intel.com ([10.67.119.149])\n by fmsmga006.fm.intel.com with ESMTP; 21 Jul 2021 21:26:33 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10052\"; a=\"209664614\"", "E=Sophos;i=\"5.84,259,1620716400\"; d=\"scan'208\";a=\"209664614\"", "E=Sophos;i=\"5.84,259,1620716400\"; d=\"scan'208\";a=\"658668688\"" ], "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": "Thu, 22 Jul 2021 04:09:07 +0000", "Message-Id": "<20210722040907.20468-6-cheng1.jiang@intel.com>", "X-Mailer": "git-send-email 2.29.2", "In-Reply-To": "<20210722040907.20468-1-cheng1.jiang@intel.com>", "References": "<20210602042802.31943-1-cheng1.jiang@intel.com>\n <20210722040907.20468-1-cheng1.jiang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v7 5/5] doc: update doc for queue clear API in\n 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 virtqueue inflight\npackets clear API in vhost lib.\n\nSigned-off-by: Cheng Jiang <cheng1.jiang@intel.com>\nReviewed-by: Maxime Coquelin <maxime.coquelin@redhat.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 70ce4974df..8874033165 100644\n--- a/doc/guides/prog_guide/vhost_lib.rst\n+++ b/doc/guides/prog_guide/vhost_lib.rst\n@@ -305,6 +305,11 @@ The following is an overview of some key Vhost API functions:\n This function returns the amount of in-flight packets for the vhost\n queue using async acceleration.\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 543e93ff1d..d9c4cc5df0 100644\n--- a/doc/guides/rel_notes/release_21_08.rst\n+++ b/doc/guides/rel_notes/release_21_08.rst\n@@ -155,6 +155,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": [ "v7", "5/5" ] }{ "id": 96188, "url": "