Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/104561/?format=api
http://patchwork.dpdk.org/api/patches/104561/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20211122084948.39382-1-xuan.ding@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": "<20211122084948.39382-1-xuan.ding@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20211122084948.39382-1-xuan.ding@intel.com", "date": "2021-11-22T08:49:48", "name": "doc: update recommended IOVA mode for async vhost", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "d9eeb7b6bab96ec09e372b720627c824612c9034", "submitter": { "id": 1401, "url": "http://patchwork.dpdk.org/api/people/1401/?format=api", "name": "Ding, Xuan", "email": "xuan.ding@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/20211122084948.39382-1-xuan.ding@intel.com/mbox/", "series": [ { "id": 20677, "url": "http://patchwork.dpdk.org/api/series/20677/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=20677", "date": "2021-11-22T08:49:48", "name": "doc: update recommended IOVA mode for async vhost", "version": 1, "mbox": "http://patchwork.dpdk.org/series/20677/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/104561/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/104561/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 D32F8A0C45;\n\tMon, 22 Nov 2021 10:04:49 +0100 (CET)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 91E21410E8;\n\tMon, 22 Nov 2021 10:04:49 +0100 (CET)", "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n by mails.dpdk.org (Postfix) with ESMTP id CE4DA4014E\n for <dev@dpdk.org>; Mon, 22 Nov 2021 10:04:47 +0100 (CET)", "from orsmga008.jf.intel.com ([10.7.209.65])\n by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 22 Nov 2021 01:04:46 -0800", "from dpdk-xuanding-dev2.sh.intel.com ([10.67.119.250])\n by orsmga008.jf.intel.com with ESMTP; 22 Nov 2021 01:04:44 -0800" ], "X-IronPort-AV": [ "E=McAfee;i=\"6200,9189,10175\"; a=\"234694546\"", "E=Sophos;i=\"5.87,254,1631602800\"; d=\"scan'208\";a=\"234694546\"", "E=Sophos;i=\"5.87,254,1631602800\"; d=\"scan'208\";a=\"508873229\"" ], "X-ExtLoop1": "1", "From": "Xuan Ding <xuan.ding@intel.com>", "To": "maxime.coquelin@redhat.com,\n\tchenbo.xia@intel.com", "Cc": "dev@dpdk.org, jiayu.hu@intel.com, yinan.wang@intel.com,\n xingguang.he@intel.com, Xuan Ding <xuan.ding@intel.com>", "Subject": "[PATCH] doc: update recommended IOVA mode for async vhost", "Date": "Mon, 22 Nov 2021 08:49:48 +0000", "Message-Id": "<20211122084948.39382-1-xuan.ding@intel.com>", "X-Mailer": "git-send-email 2.17.1", "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" }, "content": "DPDK 21.11 adds vfio support for DMA device in vhost. This patch\nupdates recommended IOVA mode in async datapath.\n\nSigned-off-by: Xuan Ding <xuan.ding@intel.com>\n---\n doc/guides/prog_guide/vhost_lib.rst | 9 +++++++++\n 1 file changed, 9 insertions(+)", "diff": "diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc/guides/prog_guide/vhost_lib.rst\nindex 76f5d303c9..f72ce75909 100644\n--- a/doc/guides/prog_guide/vhost_lib.rst\n+++ b/doc/guides/prog_guide/vhost_lib.rst\n@@ -442,3 +442,12 @@ Finally, a set of device ops is defined for device specific operations:\n * ``get_notify_area``\n \n Called to get the notify area info of the queue.\n+\n+Recommended IOVA mode in async datapath\n+---------------------------------------\n+\n+When DMA devices are bound to vfio driver, VA mode is recommended.\n+For PA mode, page by page mapping may exceed IOMMU's max capability,\n+better to use 1G guest hugepage.\n+\n+For uio driver, any vfio related error message can be ignored.\n\\ No newline at end of file\n", "prefixes": [] }{ "id": 104561, "url": "