From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 67B0B42804; Wed, 22 Mar 2023 08:54:11 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id EE87C410D1; Wed, 22 Mar 2023 08:54:10 +0100 (CET) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by mails.dpdk.org (Postfix) with ESMTP id 079A640F18 for ; Wed, 22 Mar 2023 08:54:08 +0100 (CET) Received: from kwepemi500017.china.huawei.com (unknown [172.30.72.56]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4PhLMD2SMJz9v5T; Wed, 22 Mar 2023 15:53:44 +0800 (CST) Received: from [10.67.103.235] (10.67.103.235) 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.21; Wed, 22 Mar 2023 15:54:05 +0800 Subject: Re: [PATCH 09/33] doc: update hns3 guide To: Ferruh Yigit , John McNamara , Yisen Zhuang References: <20230321235941.2169068-1-ferruh.yigit@amd.com> <20230321235941.2169068-10-ferruh.yigit@amd.com> CC: Thomas Monjalon , Andrew Rybchenko , From: Dongdong Liu Message-ID: Date: Wed, 22 Mar 2023 15:54:05 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.7.1 MIME-Version: 1.0 In-Reply-To: <20230321235941.2169068-10-ferruh.yigit@amd.com> Content-Type: text/plain; charset="windows-1252"; format=flowed Content-Transfer-Encoding: 7bit X-Originating-IP: [10.67.103.235] 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 Hi Ferruh Many thanks for your work. On 2023/3/22 7:59, Ferruh Yigit wrote: > - Move "Link status event Pre-conditions" subsection under > "Prerequisites" section > - Rename "Pre-Installation Configuration" section to "Configuration" > - Rename "Config File Options" section to "Compilation Options" > - Rename "Runtime Config Options" section to "Runtime Configuration" > > Signed-off-by: Ferruh Yigit Acked-by: Dongdong Liu Thanks, Dongdong > --- > doc/guides/nics/hns3.rst | 30 +++++++++++++++--------------- > 1 file changed, 15 insertions(+), 15 deletions(-) > > diff --git a/doc/guides/nics/hns3.rst b/doc/guides/nics/hns3.rst > index 791c9cc2ed49..5373ec5a8faf 100644 > --- a/doc/guides/nics/hns3.rst > +++ b/doc/guides/nics/hns3.rst > @@ -47,11 +47,21 @@ Prerequisites > - Follow the DPDK :ref:`Getting Started Guide for Linux ` to > setup the basic DPDK environment. > > +Link status event Pre-conditions > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > -Pre-Installation Configuration > ------------------------------- > +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. > + > + > +Configuration > +------------- > > -Config File Options > +Compilation Options > ~~~~~~~~~~~~~~~~~~~ > > The following options can be modified in the ``config/rte_config.h`` file. > @@ -60,8 +70,8 @@ The following options can be modified in the ``config/rte_config.h`` file. > > Number of MAX queues reserved for PF. > > -Runtime Config Options > -~~~~~~~~~~~~~~~~~~~~~~ > +Runtime Configuration > +~~~~~~~~~~~~~~~~~~~~~ > > - ``rx_func_hint`` (default ``none``) > > @@ -130,16 +140,6 @@ Runtime Config Options > For example:: > -a 0000:7d:00.0,mbx_time_limit_ms=600 > > -Link status event Pre-conditions > -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > - > -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. > - > > Driver compilation and testing > ------------------------------ >