From 21938cf4e43e84fa2214527aa31d315f7e54dc47 Mon Sep 17 00:00:00 2001 From: "Min Hu (Connor)" Date: Thu, 29 Apr 2021 14:12:07 +0800 Subject: [PATCH] doc: add build config option in hns3 guide This patch adds description of max TQP number per PF for config file option. Signed-off-by: Min Hu (Connor) --- 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 d51d9b1399..4439df5ea6 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 ``_. -- Follow the DPDK :ref:`Getting Started Guide for Linux ` to setup the basic DPDK environment. +- Follow the DPDK :ref:`Getting Started Guide for Linux ` 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.20.1