Cover Detail
Show a cover letter.
GET /api/covers/95943/?format=api
http://patchwork.dpdk.org/api/covers/95943/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/cover/20210716072436.19017-1-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": "<20210716072436.19017-1-cheng1.jiang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20210716072436.19017-1-cheng1.jiang@intel.com", "date": "2021-07-16T07:24:31", "name": "[v5,0/5] vhost: handle memory hotplug for async vhost", "submitter": { "id": 1530, "url": "http://patchwork.dpdk.org/api/people/1530/?format=api", "name": "Jiang, Cheng1", "email": "Cheng1.jiang@intel.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/cover/20210716072436.19017-1-cheng1.jiang@intel.com/mbox/", "series": [ { "id": 17853, "url": "http://patchwork.dpdk.org/api/series/17853/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=17853", "date": "2021-07-16T07:24:31", "name": "vhost: handle memory hotplug for async vhost", "version": 5, "mbox": "http://patchwork.dpdk.org/series/17853/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/covers/95943/comments/", "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 70DF1A0C50;\n\tFri, 16 Jul 2021 09:41:17 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EB45A4014D;\n\tFri, 16 Jul 2021 09:41:16 +0200 (CEST)", "from mga04.intel.com (mga04.intel.com [192.55.52.120])\n by mails.dpdk.org (Postfix) with ESMTP id BCC8040143\n for <dev@dpdk.org>; Fri, 16 Jul 2021 09:41:14 +0200 (CEST)", "from fmsmga002.fm.intel.com ([10.253.24.26])\n by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 16 Jul 2021 00:41:12 -0700", "from dpdk_jiangcheng.sh.intel.com ([10.67.119.149])\n by fmsmga002.fm.intel.com with ESMTP; 16 Jul 2021 00:41:09 -0700" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10046\"; a=\"208875156\"", "E=Sophos;i=\"5.84,244,1620716400\"; d=\"scan'208\";a=\"208875156\"", "E=Sophos;i=\"5.84,244,1620716400\"; d=\"scan'208\";a=\"506384236\"" ], "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 07:24:31 +0000", "Message-Id": "<20210716072436.19017-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 v5 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\nv5:\n * added fixes in 'vhost: fix async vhost ops return type'\n * improved git log, variable names and logs\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 | 32 +++++-\n lib/vhost/version.map | 3 +\n lib/vhost/vhost_user.c | 9 ++\n lib/vhost/virtio_net.c | 149 ++++++++++++++++++++-----\n 10 files changed, 220 insertions(+), 40 deletions(-)\n\n--\n2.29.2" }{ "id": 95943, "url": "