On 6/2/2024 3:45 AM, Damodharam Ammepalli wrote: > NIC adapters can support speeds with different lanes configuration. > > This patchset will allow users: > - get the Lanes capability per speed supported by the ethernet > controller. > - set the lanes configuration using a new CLI > - Display the user configured lanes > -- > v1->v2 > > Added speed lanes capability and display on testpmd shell. > testpmd> show port 0 speed_lanes capabilities > > Supported speeds Valid lanes > ----------------------------------- > 10 Gbps 1 > 25 Gbps 1 > 40 Gbps 4 > 50 Gbps 1 2 > 100 Gbps 1 2 4 > 200 Gbps 2 4 > 400 Gbps 4 8 > testpmd> > > Damodharam Ammepalli (4): > lib/ethdev: Add link_speed lanes support into rte lib > testpmd: Add speed lanes to testpmd config and show command > lib/ethdev: add support for displaying lanes capability > testpmd: add support for displaying lanes capability >
Please cc Dengdui, as they are working on same issue.