Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/95928/?format=api
http://patches.dpdk.org/api/patches/95928/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20210716025923.27164-1-cheng1.jiang@intel.com/", "project": { "id": 1, "url": "http://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": "<20210716025923.27164-1-cheng1.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210716025923.27164-1-cheng1.jiang@intel.com", "date": "2021-07-16T02:59:18", "name": "[v4,0/5] vhost: handle memory hotplug for async vhost", "commit_ref": null, "pull_url": null, "state": null, "archived": false, "hash": null, "submitter": { "id": 1530, "url": "http://patches.dpdk.org/api/people/1530/?format=api", "name": "Jiang, Cheng1", "email": "Cheng1.jiang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20210716025923.27164-1-cheng1.jiang@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/95928/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/95928/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 879B6A0C4A;\n\tFri, 16 Jul 2021 05:15:59 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4BC694014D;\n\tFri, 16 Jul 2021 05:15:59 +0200 (CEST)", "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n by mails.dpdk.org (Postfix) with ESMTP id 4A09C40143\n for <dev@dpdk.org>; Fri, 16 Jul 2021 05:15:57 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 15 Jul 2021 20:15:54 -0700", "from dpdk_jiangcheng.sh.intel.com ([10.67.119.149])\n by fmsmga002.fm.intel.com with ESMTP; 15 Jul 2021 20:15:52 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10046\"; a=\"210653758\"", "E=Sophos;i=\"5.84,244,1620716400\"; d=\"scan'208\";a=\"210653758\"", "E=Sophos;i=\"5.84,244,1620716400\"; d=\"scan'208\";a=\"506308129\"" ], "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": "Fri, 16 Jul 2021 02:59:18 +0000", "Message-Id": "<20210716025923.27164-1-cheng1.jiang@intel.com>", "X-Mailer": "git-send-email 2.29.2", "In-Reply-To": "<20210602042802.31943-1-cheng1.jiang@intel.com>", "References": "<20210602042802.31943-1-cheng1.jiang@intel.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Subject": "[dpdk-dev] [PATCH v4 0/5] vhost: handle memory hotplug for async\n vhost", "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": "When the guest memory is hotplugged, the vhost application which\nenables DMA acceleration must stop DMA transfers before the vhost\nre-maps the guest memory.\n\nThis patch set is to provide an unsafe API to drain in-flight pkts\nwhich are submitted to DMA engine in vhost async data path, and\nnotify the vhost application of stopping DMA transfers. And enable it\nin vhost example.\n\nv4:\n * rebased on the latest codess\nv3:\n * added a patch to fix async ops return type\n * fixed async ops fail handler\n * updated the doc\nv2:\n * changed the patch structure\n\nCheng Jiang (4):\n vhost: fix async vhost ops return type\n vhost: add unsafe API to drain pkts in async vhost\n examples/vhost: handle memory hotplug for async vhost\n doc: update doc for try drain API in vhost lib\n\nJiayu Hu (1):\n vhost: handle memory hotplug for async vhost\n\n doc/guides/prog_guide/vhost_lib.rst | 5 +\n doc/guides/rel_notes/release_21_08.rst | 5 +\n examples/vhost/ioat.c | 4 +-\n examples/vhost/ioat.h | 4 +-\n examples/vhost/main.c | 48 +++++++-\n examples/vhost/main.h | 1 +\n lib/vhost/rte_vhost_async.h | 28 ++++-\n lib/vhost/version.map | 3 +\n lib/vhost/vhost_user.c | 9 ++\n lib/vhost/virtio_net.c | 146 ++++++++++++++++++++-----\n 10 files changed, 215 insertions(+), 38 deletions(-)\n\n--\n2.29.2", "diff": null, "prefixes": [ "v4", "0/5" ] }{ "id": 95928, "url": "