[PATCH v2 0/4] Add support for link speed lanes
Damodharam Ammepalli
damodharam.ammepalli at broadcom.com
Sun Jun 2 04:45:00 CEST 2024
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
app/test-pmd/cmdline.c | 270 +++++++++++++++++++++++++++++++++++++
app/test-pmd/config.c | 13 +-
lib/ethdev/ethdev_driver.h | 70 ++++++++++
lib/ethdev/rte_ethdev.c | 39 ++++++
lib/ethdev/rte_ethdev.h | 84 ++++++++++++
lib/ethdev/version.map | 3 +
6 files changed, 475 insertions(+), 4 deletions(-)
--
2.39.3
--
This electronic communication and the information and any files transmitted
with it, or attached to it, are confidential and are intended solely for
the use of the individual or entity to whom it is addressed and may contain
information that is confidential, legally privileged, protected by privacy
laws, or otherwise restricted from disclosure to anyone else. If you are
not the intended recipient or the person responsible for delivering the
e-mail to the intended recipient, you are hereby notified that any use,
copying, distributing, dissemination, forwarding, printing, or copying of
this e-mail is strictly prohibited. If you received this e-mail in error,
please return the e-mail to the sender, delete it from your computer, and
destroy any printed copy of it.
More information about the dev
mailing list