[dpdk-dev] [PATCH v2] doc: add config file option for hns3 PMD

Min Hu (Connor) humin29 at huawei.com
Thu Apr 29 08:12:07 CEST 2021


This patch adds description of max TQP number per PF for config file
option.

Signed-off-by: Min Hu (Connor) <humin29 at huawei.com>
---
v2:
* deleted unexpected unindent. 
---
 doc/guides/nics/hns3.rst | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)

diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst
index d51d9b1..4439df5 100644
--- a/doc/guides/nics/hns3.rst
+++ b/doc/guides/nics/hns3.rst
@@ -44,11 +44,24 @@ Prerequisites
 - Get the information about Kunpeng920 chip using
   `<https://www.hisilicon.com/en/products/Kunpeng>`_.
 
-- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to setup the basic DPDK environment.
+- Follow the DPDK :ref:`Getting Started Guide for Linux <linux_gsg>` to
+  setup the basic DPDK environment.
 
 
+Pre-Installation Configuration
+------------------------------
+
+Config File Options
+~~~~~~~~~~~~~~~~~~~
+
+The following options can be modified in the ``config/rte_config.h`` file.
+
+- ``RTE_LIBRTE_HNS3_MAX_TQP_NUM_PER_PF`` (default ``256``)
+
+  Number of MAX queues reserved for PF.
+
 Runtime Config Options
-----------------------
+~~~~~~~~~~~~~~~~~~~~~~
 
 - ``rx_func_hint`` (default ``none``)
 
-- 
2.7.4



More information about the dev mailing list