[PATCH 0/3] support setting lanes
Dengdui Huang
huangdengdui at huawei.com
Tue Mar 12 08:52:35 CET 2024
Some speeds can be achieved with different number of lanes. For example,
100Gbps can be achieved using two lanes of 50Gbps or four lanes of 25Gbps.
When use different lanes, the port cannot be up.
This patch set add support setting lanes for ethdev
In addition, modify the testpmd and hns3 driver to adapt to it.
Dengdui Huang (3):
ethdev: support setting lanes
net/hns3: support setting lanes
app/testpmd: support setting lanes
app/test-pmd/cmdline.c | 110 ++++----
app/test-pmd/config.c | 60 +++--
doc/guides/rel_notes/release_24_03.rst | 11 +-
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 3 +-
drivers/net/bnxt/bnxt_ethdev.c | 3 +-
drivers/net/hns3/hns3_cmd.h | 15 +-
drivers/net/hns3/hns3_common.c | 3 +-
drivers/net/hns3/hns3_ethdev.c | 112 ++++----
drivers/net/hns3/hns3_ethdev.h | 2 +
lib/ethdev/ethdev_driver.h | 1 -
lib/ethdev/ethdev_linux_ethtool.c | 101 +++++++-
lib/ethdev/ethdev_private.h | 4 +
lib/ethdev/ethdev_trace.h | 4 +-
lib/ethdev/meson.build | 2 +
lib/ethdev/rte_ethdev.c | 272 +++++++++++++++++++-
lib/ethdev/rte_ethdev.h | 99 +++++--
lib/ethdev/version.map | 7 +
17 files changed, 635 insertions(+), 174 deletions(-)
--
2.33.0
More information about the dev
mailing list