From patchwork Wed Dec 19 13:37:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Yan, Zhirun" X-Patchwork-Id: 49097 X-Patchwork-Delegate: qi.z.zhang@intel.com Return-Path: X-Original-To: patchwork@dpdk.org Delivered-To: patchwork@dpdk.org Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 4C5BA1BBD1; Wed, 19 Dec 2018 07:02:31 +0100 (CET) Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) by dpdk.org (Postfix) with ESMTP id DA1271B6B6 for ; Wed, 19 Dec 2018 07:02:23 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 18 Dec 2018 22:02:23 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,371,1539673200"; d="scan'208";a="110558287" Received: from dpdk-server.sh.intel.com ([10.67.110.170]) by fmsmga008.fm.intel.com with ESMTP; 18 Dec 2018 22:02:21 -0800 From: Zhirun Yan To: dev@dpdk.org, qi.z.zhang@intel.com Cc: Zhirun Yan Date: Wed, 19 Dec 2018 13:37:43 +0000 Message-Id: <20181219133743.57423-4-zhirun.yan@intel.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20181219133743.57423-1-zhirun.yan@intel.com> References: <20181219130856.19862-4-zhirun.yan@intel.com> <20181219133743.57423-1-zhirun.yan@intel.com> Subject: [dpdk-dev] [PATCH v8 3/3] doc: update queue number per vf for i40e X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Updated the doc and release notes on the support for requesting more queues. Signed-off-by: Zhirun Yan --- doc/guides/nics/i40e.rst | 16 +++++++++------- doc/guides/rel_notes/release_19_02.rst | 8 ++++++++ 2 files changed, 17 insertions(+), 7 deletions(-) diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index bfacbd117..70143d6a0 100644 --- a/doc/guides/nics/i40e.rst +++ b/doc/guides/nics/i40e.rst @@ -129,13 +129,15 @@ Please note that enabling debugging options may affect system performance. Runtime Config Options ~~~~~~~~~~~~~~~~~~~~~~ -- ``Number of Queues per VF`` (default ``4``) - - The number of queue per VF is determined by its host PF. If the PCI address - of an i40e PF is aaaa:bb.cc, the number of queues per VF can be configured - with EAL parameter like -w aaaa:bb.cc,queue-num-per-vf=n. The value n can be - 1, 2, 4, 8 or 16. If no such parameter is configured, the number of queues - per VF is 4 by default. +- ``Reserved number of Queues per VF`` (default ``4``) + + The number of reserved queue per VF is determined by its host PF. If the + PCI address of an i40e PF is aaaa:bb.cc, the number of reserved queues per + VF can be configured with EAL parameter like -w aaaa:bb.cc,queue-num-per-vf=n. + The value n can be 1, 2, 4, 8 or 16. If no such parameter is configured, the + number of reserved queues per VF is 4 by default. If VF request more than + reserved queues per VF, PF will able to allocate max to 16 queues after a VF + reset. - ``Support multiple driver`` (default ``disable``) diff --git a/doc/guides/rel_notes/release_19_02.rst b/doc/guides/rel_notes/release_19_02.rst index 8deb68b9a..524e731b2 100644 --- a/doc/guides/rel_notes/release_19_02.rst +++ b/doc/guides/rel_notes/release_19_02.rst @@ -60,6 +60,14 @@ New Features * Added the handler to get firmware version string. * Added support for multicast filtering. +* **Added dynamic queues allocation support for i40e VF.** + + Previously, available queues of VF is reserved by PF at initialize stage. + Now both DPDK PF and Kernel PF (>=2.1.14) will support dynamic queue + allocation. At runtime, when VF request more queue number exceed the initial + reserved amount, PF can allocate up to 16 queues as the request after a VF + reset. + Removed Items -------------