From patchwork Sat Nov 25 01:47:40 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lihuisong (C)" X-Patchwork-Id: 134612 X-Patchwork-Delegate: thomas@monjalon.net 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 AA6FD433A9; Sat, 25 Nov 2023 02:48:12 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6676843316; Sat, 25 Nov 2023 02:47:52 +0100 (CET) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by mails.dpdk.org (Postfix) with ESMTP id 90F5A40278 for ; Sat, 25 Nov 2023 02:47:46 +0100 (CET) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.54]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4ScZNw3vGRzMnPL; Sat, 25 Nov 2023 09:42:56 +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; Sat, 25 Nov 2023 09:47:42 +0800 From: Huisong Li To: , , , Chengwen Feng , Jie Hai , Dongdong Liu CC: , Subject: [PATCH v3 1/6] doc: add RSS hash algorithm feature Date: Sat, 25 Nov 2023 09:47:40 +0800 Message-ID: <20231125014745.61348-2-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20231125014745.61348-1-lihuisong@huawei.com> References: <20231123135916.33315-1-lihuisong@huawei.com> <20231125014745.61348-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) 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 Add hash algorithm feature introduced by 23.11 and fix some RSS features description. Fixes: 34ff088cc241 ("ethdev: set and query RSS hash algorithm") Signed-off-by: Huisong Li Acked-by: Chengwen Feng --- doc/guides/nics/features.rst | 26 ++++++++++++++++++++++---- 1 file changed, 22 insertions(+), 4 deletions(-) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index 1a1dc16c1e..0d38c5c525 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -277,10 +277,12 @@ RSS hash Supports RSS hashing on RX. * **[uses] user config**: ``dev_conf.rxmode.mq_mode`` = ``RTE_ETH_MQ_RX_RSS_FLAG``. -* **[uses] user config**: ``dev_conf.rx_adv_conf.rss_conf``. +* **[uses] user config**: ``rss_conf.rss_hf``. * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:RTE_ETH_RX_OFFLOAD_RSS_HASH``. * **[provides] rte_eth_dev_info**: ``flow_type_rss_offloads``. * **[provides] mbuf**: ``mbuf.ol_flags:RTE_MBUF_F_RX_RSS_HASH``, ``mbuf.rss``. +* **[related] API**: ``rte_eth_dev_configure``, ``rte_eth_dev_rss_hash_update`` + ``rte_eth_dev_rss_hash_conf_get()``. .. _nic_features_inner_rss: @@ -288,7 +290,7 @@ Supports RSS hashing on RX. Inner RSS --------- -Supports RX RSS hashing on Inner headers. +Supports RX RSS hashing on Inner headers by rte_flow API. * **[uses] rte_flow_action_rss**: ``level``. * **[uses] rte_eth_rxconf,rte_eth_rxmode**: ``offloads:RTE_ETH_RX_OFFLOAD_RSS_HASH``. @@ -303,9 +305,25 @@ RSS key update Supports configuration of Receive Side Scaling (RSS) hash computation. Updating Receive Side Scaling (RSS) hash key. -* **[implements] eth_dev_ops**: ``rss_hash_update``, ``rss_hash_conf_get``. +* **[implements] eth_dev_ops**: ``dev_configure``, ``rss_hash_update``, ``rss_hash_conf_get``. +* **[uses] user config**: ``rss_conf.rss_key``, ``rss_conf.rss_key_len`` * **[provides] rte_eth_dev_info**: ``hash_key_size``. -* **[related] API**: ``rte_eth_dev_rss_hash_update()``, +* **[related] API**: ``rte_eth_dev_configure``, ``rte_eth_dev_rss_hash_update()``, + ``rte_eth_dev_rss_hash_conf_get()``. + + +.. _nic_features_rss_hash_algo_update: + +RSS hash algorithm update +------------------------- + +Supports configuration of Receive Side Scaling (RSS) hash algorithm. Updating +RSS hash algorithm. + +* **[implements] eth_dev_ops**: ``dev_configure``, ``rss_hash_update``, ``rss_hash_conf_get``. +* **[uses] user config**: ``rss_conf.algorithm`` +* **[provides] rte_eth_dev_info**: ``rss_algo_capa``. +* **[related] API**: ``rte_eth_dev_configure``, ``rte_eth_dev_rss_hash_update()``, ``rte_eth_dev_rss_hash_conf_get()``. From patchwork Sat Nov 25 01:47:41 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lihuisong (C)" X-Patchwork-Id: 134610 X-Patchwork-Delegate: thomas@monjalon.net 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 11E3D433A9; Sat, 25 Nov 2023 02:48:01 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 0ADBB43302; Sat, 25 Nov 2023 02:47:50 +0100 (CET) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by mails.dpdk.org (Postfix) with ESMTP id 4FB04432DC for ; Sat, 25 Nov 2023 02:47:46 +0100 (CET) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4ScZNw74XtzMnNs; Sat, 25 Nov 2023 09:42:56 +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; Sat, 25 Nov 2023 09:47:43 +0800 From: Huisong Li To: , , , Changchun Ouyang CC: , Subject: [PATCH v3 2/6] doc: add link up/down feature Date: Sat, 25 Nov 2023 09:47:41 +0800 Message-ID: <20231125014745.61348-3-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20231125014745.61348-1-lihuisong@huawei.com> References: <20231123135916.33315-1-lihuisong@huawei.com> <20231125014745.61348-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) 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 Add link up/down feature for features.rst. Fixes: 915e67837586 ("ethdev: API for link up and down") Cc: stable@dpdk.org Signed-off-by: Huisong Li Acked-by: Chengwen Feng Acked-by: Ferruh Yigit --- doc/guides/nics/features.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index 0d38c5c525..f14962a6c3 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -45,6 +45,10 @@ Supports getting the link speed, duplex mode and link state (up/down). * **[implements] rte_eth_dev_data**: ``dev_link``. * **[related] API**: ``rte_eth_link_get()``, ``rte_eth_link_get_nowait()``. +Set link up/down an Ethernet device. + +* **[implements] eth_dev_ops**: ``dev_set_link_up``, ``dev_set_link_down``. +* **[related] API**: ``rte_eth_dev_set_link_up()``, ``rte_eth_dev_set_link_down()``. .. _nic_features_link_status_event: From patchwork Sat Nov 25 01:47:42 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lihuisong (C)" X-Patchwork-Id: 134609 X-Patchwork-Delegate: thomas@monjalon.net 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 ADBF6433A9; Sat, 25 Nov 2023 02:47:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D874C432F8; Sat, 25 Nov 2023 02:47:48 +0100 (CET) Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by mails.dpdk.org (Postfix) with ESMTP id 35676432D8 for ; Sat, 25 Nov 2023 02:47:46 +0100 (CET) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.57]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4ScZNx46LlzMnNB; Sat, 25 Nov 2023 09:42:57 +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; Sat, 25 Nov 2023 09:47:43 +0800 From: Huisong Li To: , , , Marc Sune CC: , Subject: [PATCH v3 3/6] doc: add features for link speeds Date: Sat, 25 Nov 2023 09:47:42 +0800 Message-ID: <20231125014745.61348-4-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20231125014745.61348-1-lihuisong@huawei.com> References: <20231123135916.33315-1-lihuisong@huawei.com> <20231125014745.61348-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) 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 Add features for link speeds. Fixes: 82113036e4e5 ("ethdev: redesign link speed config") Cc: stable@dpdk.org Signed-off-by: Huisong Li Acked-by: Chengwen Feng --- doc/guides/nics/features.rst | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index f14962a6c3..d13e43ae81 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -34,6 +34,17 @@ Supports getting the speed capabilities that the current device is capable of. * **[related] API**: ``rte_eth_dev_info_get()``. +.. _nic_features_link_speeds_config: + +Link speed configuration +------------------------ + +Supports configurating fixed speed and link autonegotiation. + +* **[uses] user config**: ``dev_conf.link_speeds:RTE_ETH_LINK_SPEED_*``. +* **[related] API**: ``rte_eth_dev_configure()``. + + .. _nic_features_link_status: Link status From patchwork Sat Nov 25 01:47:43 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lihuisong (C)" X-Patchwork-Id: 134611 X-Patchwork-Delegate: thomas@monjalon.net 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 E5ABC433A9; Sat, 25 Nov 2023 02:48:06 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3427E4330C; Sat, 25 Nov 2023 02:47:51 +0100 (CET) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id 9887A402B1 for ; Sat, 25 Nov 2023 02:47:46 +0100 (CET) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4ScZTl04VhzWh9f; Sat, 25 Nov 2023 09:47:06 +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; Sat, 25 Nov 2023 09:47:44 +0800 From: Huisong Li To: , , , Balasubramanian Manoharan , Jerin Jacob , Cristian Dumitrescu , Hemant Agrawal CC: , Subject: [PATCH v3 4/6] doc: add Traffic Manager feature Date: Sat, 25 Nov 2023 09:47:43 +0800 Message-ID: <20231125014745.61348-5-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20231125014745.61348-1-lihuisong@huawei.com> References: <20231123135916.33315-1-lihuisong@huawei.com> <20231125014745.61348-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) 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 Add Traffic Manager feature. Fixes: 5d109deffa87 ("ethdev: add traffic management API") Cc: stable@dpdk.org Signed-off-by: Huisong Li Acked-by: Chengwen Feng --- doc/guides/nics/features.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index d13e43ae81..ef061759c7 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -773,6 +773,19 @@ Supports congestion management. ``rte_eth_cman_config_set()``, ``rte_eth_cman_config_get()``. +.. _nic_features_traffic_manager: + +Traffic manager +--------------- + +Supports Traffic manager. + +* **[implements] rte_tm_ops**: ``capabilities_get``, ``shaper_profile_add``, + ``hierarchy_commit`` and so on. +* **[related] API**: ``rte_tm_capabilities_get()``, ``rte_tm_shaper_profile_add()``, + ``rte_tm_hierarchy_commit()`` and so on. + + .. _nic_features_fw_version: FW version From patchwork Sat Nov 25 01:47:44 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lihuisong (C)" X-Patchwork-Id: 134613 X-Patchwork-Delegate: thomas@monjalon.net 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 DD13A433A9; Sat, 25 Nov 2023 02:48:18 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 925F043320; Sat, 25 Nov 2023 02:47:53 +0100 (CET) Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by mails.dpdk.org (Postfix) with ESMTP id 298AB432D8 for ; Sat, 25 Nov 2023 02:47:47 +0100 (CET) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.54]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4ScZTy1GVKzvR7b; Sat, 25 Nov 2023 09:47:18 +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; Sat, 25 Nov 2023 09:47:44 +0800 From: Huisong Li To: , , , "Min Hu (Connor)" , =?utf-8?q?Morten_Br=C3=B8rup?= , Ray Kinsella , Ferruh Yigit , Ajit Khaparde CC: , Subject: [PATCH v3 5/6] doc: add dump device private information feature Date: Sat, 25 Nov 2023 09:47:44 +0800 Message-ID: <20231125014745.61348-6-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20231125014745.61348-1-lihuisong@huawei.com> References: <20231123135916.33315-1-lihuisong@huawei.com> <20231125014745.61348-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) 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 Add dump device private information feature. Fixes: edcf22c6d389 ("ethdev: introduce dump API") Cc: stable@dpdk.org Signed-off-by: Huisong Li Acked-by: Chengwen Feng --- doc/guides/nics/features.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index ef061759c7..c5c4dbf745 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -832,6 +832,18 @@ registers and register size). * **[related] API**: ``rte_eth_dev_get_reg_info()``. +.. _nic_features_device_private_info_dump: + +Device private information dump +------------------------------- + +Supports retrieving device private information to a file. Provided data and +the order depends on PMD. + +* **[implements] eth_dev_ops**: ``eth_dev_priv_dump``. +* **[related] API**: ``rte_eth_dev_priv_dump()``. + + .. _nic_features_led: LED From patchwork Sat Nov 25 01:47:45 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "lihuisong (C)" X-Patchwork-Id: 134614 X-Patchwork-Delegate: thomas@monjalon.net 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 59515433A9; Sat, 25 Nov 2023 02:48:25 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D75F34332A; Sat, 25 Nov 2023 02:47:54 +0100 (CET) Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by mails.dpdk.org (Postfix) with ESMTP id AE00F402B1 for ; Sat, 25 Nov 2023 02:47:47 +0100 (CET) Received: from kwepemm000004.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4ScZPX6KGmzShKc; Sat, 25 Nov 2023 09:43:28 +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; Sat, 25 Nov 2023 09:47:45 +0800 From: Huisong Li To: , , , Ivan Boule , Qinglai Xiao , Venky Venkatesan CC: , Subject: [PATCH v3 6/6] doc: add feature for loopback mode Date: Sat, 25 Nov 2023 09:47:45 +0800 Message-ID: <20231125014745.61348-7-lihuisong@huawei.com> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20231125014745.61348-1-lihuisong@huawei.com> References: <20231123135916.33315-1-lihuisong@huawei.com> <20231125014745.61348-1-lihuisong@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.69.192.56] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) 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 Add feature for loopback mode. Fixes: db0359256170 ("ixgbe: add Tx->Rx loopback mode for 82599") Cc: stable@dpdk.org Signed-off-by: Huisong Li Acked-by: Chengwen Feng --- doc/guides/nics/features.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/doc/guides/nics/features.rst b/doc/guides/nics/features.rst index c5c4dbf745..caf1258554 100644 --- a/doc/guides/nics/features.rst +++ b/doc/guides/nics/features.rst @@ -45,6 +45,18 @@ Supports configurating fixed speed and link autonegotiation. * **[related] API**: ``rte_eth_dev_configure()``. +.. _nic_features_loopback: + +Loopback configuration +---------------------- + +Supports configurating loopback mode. The default value 0 is to disable +loopback mode and other value is defined by given Ethernet controller. + +* **[uses] user config**: ``dev_conf.lpbk_mode``. +* **[related] API**: ``rte_eth_dev_configure()``. + + .. _nic_features_link_status: Link status