[v5,2/3] doc: add link up/down feature

Message ID 20231128055927.61704-3-lihuisong@huawei.com (mailing list archive)
State New
Delegated to: Thomas Monjalon
Series doc/features: fix some features and add new features |


Context Check Description
ci/checkpatch success coding style OK

Commit Message

lihuisong (C) Nov. 28, 2023, 5:59 a.m. UTC
  Add link up/down feature for features.rst.

Cc: stable@dpdk.org

Signed-off-by: Huisong Li <lihuisong@huawei.com>
Acked-by: Chengwen Feng <fengchengwen@huawei.com>
Acked-by: Ferruh Yigit <ferruh.yigit@amd.com>
 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 18b4c9637e..ced400beba 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: