From patchwork Mon Nov 20 11:14:02 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lihuisong (C)" X-Patchwork-Id: 134478 X-Patchwork-Delegate: ferruh.yigit@amd.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id ADFD34337E; Mon, 20 Nov 2023 12:14:00 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9CD4042DD2; Mon, 20 Nov 2023 12:14:00 +0100 (CET) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id 94F4C402DE for ; Mon, 20 Nov 2023 12:13:59 +0100 (CET) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.53]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4SYlD75h9Nz1P6j8; Mon, 20 Nov 2023 19:10:31 +0800 (CST) Received: from localhost.localdomain (10.69.192.56) by kwepemm000004.china.huawei.com (7.193.23.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.35; Mon, 20 Nov 2023 19:13:57 +0800 From: Huisong Li To: , , Jie Hai , Yisen Zhuang , "Min Hu (Connor)" CC: , Subject: [PATCH v2 1/3] doc/hns3: fix compilation option about max queue number Date: Mon, 20 Nov 2023 19:14:02 +0800 Message-ID: <20231120111404.37924-2-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20231120111404.37924-1-lihuisong@huawei.com> References: <20231120111404.37924-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemm000004.china.huawei.com (7.193.23.18) X-CFilter-Loop: Reflected X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patch fixes the description of compilation option about setting max queue number. The maximum queue number of HIP09 and HIP10 is determined by the RTE_LIBRTE_HNS3_MAX_TQP_NUM_PER_PF and the value the firmware report. Fixes: 21938cf4e43e ("doc: add build config option in hns3 guide") Cc: stable@dpdk.org Signed-off-by: Huisong Li Acked-by: Jie Hai > Signed-off-by: Huisong Li --- doc/guides/nics/hns3.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst index ee774639d3..7eac1b3c92 100644 --- a/doc/guides/nics/hns3.rst +++ b/doc/guides/nics/hns3.rst @@ -69,7 +69,8 @@ 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. + Number of MAX queues reserved for PF on HIP09 and HIP10. The MAX queue + number is also determined by the value the firmware report. Runtime Configuration ~~~~~~~~~~~~~~~~~~~~~