From patchwork Fri Jun 30 07:37:35 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongdong Liu X-Patchwork-Id: 129143 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 1745942D73; Fri, 30 Jun 2023 09:40:43 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id F262A406B5; Fri, 30 Jun 2023 09:40:42 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 6FB0A4021F; Fri, 30 Jun 2023 09:40:41 +0200 (CEST) Received: from kwepemi500017.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4QsnJt1FVCzTm19; Fri, 30 Jun 2023 15:39:42 +0800 (CST) Received: from localhost.localdomain (10.28.79.22) by kwepemi500017.china.huawei.com (7.221.188.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 30 Jun 2023 15:40:36 +0800 From: Dongdong Liu To: , , , CC: Subject: [PATCH 1/3] doc: fix invalid link in hns3 guide Date: Fri, 30 Jun 2023 15:37:35 +0800 Message-ID: <20230630073737.20915-2-liudongdong3@huawei.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20230630073737.20915-1-liudongdong3@huawei.com> References: <20230630073737.20915-1-liudongdong3@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.28.79.22] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemi500017.china.huawei.com (7.221.188.110) 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 The LSC support of Vf driver depends on a patch link in kernel pf driver. But current the link is invalid, so fixes it. Add a blank line after the link. Fixes: 80006b598730 ("doc: add link status event requirements in hns3 guide") Cc: stable@dpdk.org Signed-off-by: Dongdong Liu --- 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 45f9a99a89..a6f3a5eb9e 100644 --- a/doc/guides/nics/hns3.rst +++ b/doc/guides/nics/hns3.rst @@ -54,7 +54,8 @@ Firmware 1.8.0.0 and later versions support reporting link changes to the PF. Therefore, to use the LSC for the PF driver, ensure that the firmware version also supports reporting link changes. If the VF driver needs to support LSC, special patch must be added: -``_. +``_. + Note: The patch has been uploaded to 5.13 of the Linux kernel mainline. From patchwork Fri Jun 30 07:37:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongdong Liu X-Patchwork-Id: 129145 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 9F6FE42D73; Fri, 30 Jun 2023 09:40:54 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8FEB242D2D; Fri, 30 Jun 2023 09:40:45 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id ACD8C40EDB; Fri, 30 Jun 2023 09:40:41 +0200 (CEST) Received: from kwepemi500017.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4QsnJt3TKzzTm0m; Fri, 30 Jun 2023 15:39:42 +0800 (CST) Received: from localhost.localdomain (10.28.79.22) by kwepemi500017.china.huawei.com (7.221.188.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 30 Jun 2023 15:40:37 +0800 From: Dongdong Liu To: , , , CC: Subject: [PATCH 2/3] doc: fix wrong syntax in hns3 guide Date: Fri, 30 Jun 2023 15:37:36 +0800 Message-ID: <20230630073737.20915-3-liudongdong3@huawei.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20230630073737.20915-1-liudongdong3@huawei.com> References: <20230630073737.20915-1-liudongdong3@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.28.79.22] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemi500017.china.huawei.com (7.221.188.110) 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 '::' doesn't provide pre-formatted text without an empty line after it, so fixes it. Fixes: cdf6a5fbc540 ("doc: add runtime option examples to hns3 guide") Cc: stable@dpdk.org Signed-off-by: Dongdong Liu --- doc/guides/nics/hns3.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst index a6f3a5eb9e..644d520b64 100644 --- a/doc/guides/nics/hns3.rst +++ b/doc/guides/nics/hns3.rst @@ -92,6 +92,7 @@ Runtime Configuration ``common``. For example:: + -a 0000:7d:00.0,rx_func_hint=simple - ``tx_func_hint`` (default ``none``) @@ -112,6 +113,7 @@ Runtime Configuration ``common``. For example:: + -a 0000:7d:00.0,tx_func_hint=common - ``dev_caps_mask`` (default ``0``) @@ -124,6 +126,7 @@ Runtime Configuration Its main purpose is to debug and avoid problems. For example:: + -a 0000:7d:00.0,dev_caps_mask=0xF - ``mbx_time_limit_ms`` (default ``500``) From patchwork Fri Jun 30 07:37:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dongdong Liu X-Patchwork-Id: 129146 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 3583842D73; Fri, 30 Jun 2023 09:41:00 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9DC7342D17; Fri, 30 Jun 2023 09:40:46 +0200 (CEST) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id BD57D410FC; Fri, 30 Jun 2023 09:40:41 +0200 (CEST) Received: from kwepemi500017.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4QsnJt53MdzTm1L; Fri, 30 Jun 2023 15:39:42 +0800 (CST) Received: from localhost.localdomain (10.28.79.22) by kwepemi500017.china.huawei.com (7.221.188.110) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Fri, 30 Jun 2023 15:40:37 +0800 From: Dongdong Liu To: , , , CC: Subject: [PATCH 3/3] doc: fix wrong number of spaces in hns3 guide Date: Fri, 30 Jun 2023 15:37:37 +0800 Message-ID: <20230630073737.20915-4-liudongdong3@huawei.com> X-Mailer: git-send-email 2.22.0 In-Reply-To: <20230630073737.20915-1-liudongdong3@huawei.com> References: <20230630073737.20915-1-liudongdong3@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.28.79.22] X-ClientProxiedBy: dggems706-chm.china.huawei.com (10.3.19.183) To kwepemi500017.china.huawei.com (7.221.188.110) 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 The current description of 'mbx_time_limit_ms' has three spaces at the beginning. Use two spaces to keep the same style with other places and add a blank line after '::'. Fixes: 2fc3e696a7f1 ("net/hns3: add runtime config for mailbox limit time") Cc: stable@dpdk.org Signed-off-by: Dongdong Liu --- doc/guides/nics/hns3.rst | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst index 644d520b64..b9f7035300 100644 --- a/doc/guides/nics/hns3.rst +++ b/doc/guides/nics/hns3.rst @@ -130,19 +130,20 @@ Runtime Configuration -a 0000:7d:00.0,dev_caps_mask=0xF - ``mbx_time_limit_ms`` (default ``500``) - Used to define the mailbox time limit by user. - Current, the max waiting time for MBX response is 500ms, but in - some scenarios, it is not enough. Since it depends on the response - of the kernel mode driver, and its response time is related to the - scheduling of the system. In this special scenario, most of the - cores are isolated, and only a few cores are used for system - scheduling. When a large number of services are started, the - scheduling of the system will be very busy, and the reply of the - mbx message will time out, which will cause our PMD initialization - to fail. So provide access to set mailbox time limit for user. - - For example:: - -a 0000:7d:00.0,mbx_time_limit_ms=600 + Used to define the mailbox time limit by user. + Current, the max waiting time for MBX response is 500ms, but in + some scenarios, it is not enough. Since it depends on the response + of the kernel mode driver, and its response time is related to the + scheduling of the system. In this special scenario, most of the + cores are isolated, and only a few cores are used for system + scheduling. When a large number of services are started, the + scheduling of the system will be very busy, and the reply of the + mbx message will time out, which will cause our PMD initialization + to fail. So provide access to set mailbox time limit for user. + + For example:: + + -a 0000:7d:00.0,mbx_time_limit_ms=600 - ``fdir_vlan_match_mode`` (default ``strict``)