[RFC PATCH v2 3/3] ethdev: update documentation for API to get FEC
Denis Pryazhennikov
denis.pryazhennikov at arknetworks.am
Mon May 8 13:47:07 CEST 2023
The documentation for the rte_eth_fec_get() is updated
to clarify the description for the fec_capa parameter.
The previous description implied that more than one FEC
mode can be obtained.
Signed-off-by: Denis Pryazhennikov <denis.pryazhennikov at arknetworks.am>
---
lib/ethdev/rte_ethdev.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index 777dc521494c..ab9732f21bdf 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -4204,10 +4204,7 @@ int rte_eth_fec_get_capability(uint16_t port_id,
* @param port_id
* The port identifier of the Ethernet device.
* @param fec_capa
- * A bitmask of enabled FEC modes. If AUTO bit is set, other
- * bits specify FEC modes which may be negotiated. If AUTO
- * bit is clear, specify FEC modes to be used (only one valid
- * mode per speed may be set).
+ * A bitmask with the current FEC mode.
* @return
* - (0) if successful.
* - (-ENOTSUP) if underlying hardware OR driver doesn't support.
--
2.37.0 (Apple Git-136)
More information about the dev
mailing list