From patchwork Wed Jun 22 01:35:35 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Ding, Xuan" X-Patchwork-Id: 113200 X-Patchwork-Delegate: maxime.coquelin@redhat.com Return-Path: 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]) by inbox.dpdk.org (Postfix) with ESMTP id 247C6A00C3; Wed, 22 Jun 2022 03:39:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 13790427F8; Wed, 22 Jun 2022 03:39:23 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id B9D8540151 for ; Wed, 22 Jun 2022 03:39:21 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1655861961; x=1687397961; h=from:to:cc:subject:date:message-id; bh=LCXVNDg72ZNw+4a2PMw6Q9Q5lB4DyHvK+zLaygMIU6c=; b=jRKeyxpM13kasokoyYJjIoxguRtD7t4w+fXeEtlRYpZ9svYCILTOzYmN gIEXE3jmrDe6v2/NEVbs36dirCBHQxWIpGL/9eiRMEI9g0g1Sktd6Z/tV lH1mG9K8ueMsKD7k0/vVqR0GQQZJFUVifNk7JkIlfzWMb6Lmb/Zhv5q1G jowfUHoYDwe15GkzNUQvylH5BRmr+SiTXcxuVh8IOmrqcWcX4nEyP/Xm1 ZAYTlKr0eOME0SFTjnbjc0fuCq4psxB3f9mzoBRP1HSYtWWnJCcCUw+Ks 77ziTDP5U9dae6+pY+XQ0Quf+uUfNlI55jVG8dSrlwfmOsyB8marA/Mb0 w==; X-IronPort-AV: E=McAfee;i="6400,9594,10385"; a="260715098" X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="260715098" Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Jun 2022 18:39:20 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.92,211,1650956400"; d="scan'208";a="562679449" Received: from npg-dpdk-xuan-cbdma.sh.intel.com ([10.67.110.228]) by orsmga006.jf.intel.com with ESMTP; 21 Jun 2022 18:39:18 -0700 From: xuan.ding@intel.com To: maxime.coquelin@redhat.com, chenbo.xia@intel.com Cc: dev@dpdk.org, jiayu.hu@intel.com, Xuan Ding Subject: [PATCH] doc: clean vhost async path doc Date: Wed, 22 Jun 2022 01:35:35 +0000 Message-Id: <20220622013535.100253-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org From: Xuan Ding This patch moves the 'Recommended IOVA mode in async datapath' section under 'Vhost asynchronous data path' as a subsection, which make the doc cleaner. Signed-off-by: Xuan Ding Reviewed-by: Jiayu Hu --- doc/guides/prog_guide/vhost_lib.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/guides/prog_guide/vhost_lib.rst b/doc/guides/prog_guide/vhost_lib.rst index 628db3fc38..e93673ce68 100644 --- a/doc/guides/prog_guide/vhost_lib.rst +++ b/doc/guides/prog_guide/vhost_lib.rst @@ -488,11 +488,11 @@ support sharing DMA channels among vrings. not poll completed will cause the DMA ring to be full, which will result in packet loss eventually. -Recommended IOVA mode in async datapath ---------------------------------------- +* Recommended IOVA mode in async datapath -When DMA devices are bound to VFIO driver, VA mode is recommended. -For PA mode, page by page mapping may exceed IOMMU's max capability, -better to use 1G guest hugepage. + When DMA devices are bound to VFIO driver, VA mode is recommended. + For PA mode, page by page mapping may exceed IOMMU's max capability, + better to use 1G guest hugepage. -For UIO driver, any VFIO related error message can be ignored. + For UIO driver or kernel driver, any VFIO related error messages + can be ignored.