]> git.droids-corp.org - dpdk.git/commitdiff
doc: add build config option in hns3 guide
authorMin Hu (Connor) <humin29@huawei.com>
Thu, 29 Apr 2021 06:12:07 +0000 (14:12 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 May 2021 12:54:41 +0000 (14:54 +0200)
This patch adds description of max TQP number per PF for config file
option.

Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
doc/guides/nics/hns3.rst

index d51d9b13998960f2f09a01113e5d9a86ff474c6e..4439df5ea62e58902e964582b21e41254cc5197d 100644 (file)
@@ -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``)