> +++ b/lib/ethdev/rte_ethdev.c > @@ -7008,4 +7008,30 @@ int rte_eth_dev_map_aggr_tx_affinity(uint16_t port_id, > uint16_t tx_queue_id, > return ret; > } > > +int > +rte_eth_speed_lanes_get(uint16_t port_id, struct rte_eth_speed_lanes_capa > *capa) > +{ ...
Update the eth_dev_ops structure with new function vectors to get and set number of speed lanes. This will help user to configure the same fixed speed with different number of lanes based on the physical carrier type.