[RFC,v2,3/3] ethdev: update documentation for API to get FEC
Checks
Commit Message
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@arknetworks.am>
---
lib/ethdev/rte_ethdev.h | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
@@ -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.