Skip to contentSkip to conversation

doc: add config file option for hns3 PMD

PATCH Superseded Min Hu (Connor) 2 participants 3 messages Apr 29, 2021 – May 4, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 doc: add config file option for hns3 PMD

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

---
 doc/guides/nics/hns3.rst | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
doc/guides/nics/hns3.rst +15 -2
index d51d9b1..03b7527 100644
@@ -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``)
 
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 doc: add config file option for hns3 PMD

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

---
v2:
* deleted unexpected unindent.

---
 doc/guides/nics/hns3.rst | 17 +++++++++++++++--
 1 file changed, 15 insertions(+), 2 deletions(-)
doc/guides/nics/hns3.rst +15 -2
index d51d9b1..4439df5 100644
@@ -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``)
 
Signature · 1 line
2.7.4