Hi,
The 'speed_capa' will be reported in rte_eth_dev_info_get API. How should users use the field?
1) The driver reports only the capabilities supported by the NIC, and users only obtain the capabilities. Maybe, there is a case that a rate bit in 'speed_capa' is not supported by the current transmission medium, such as, copper cable optical modules and optical interface modules.
2) The field is used only to inform users of the speed_capa supported by the current transmission medium. And users set the fixed speed or auto-negotiation by using 'link_speeds' according to the field.
According to the existing implementations of all drivers, it seems that both of the above behaviors exist.
How should we report and use it?
Thanks
Lijun Ou