mlxsw: Handle MTU values
Status from this message: This series was applied to netdev/net-next.git (main)
Get series with b4
b4 am [email protected]Versions newest first
Patches in v1 All 5 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mlxsw: port: Edit maximum MTU valuedrivers/ | +1 | 0 replies | Applied |
| 2/5 | mlxsw: Adjust MTU value to hardware checkdrivers/ drivers/ | +2 | 0 replies | Applied |
| 3/5 | mlxsw: spectrum: Set more accurate values for netdevice min/max MTUdrivers/ | +2 | 0 replies | Applied |
| 4/5 | mlxsw: Use the same maximum MTU value throughout the driverdrivers/ drivers/ drivers/ | +6 | 0 replies | Applied |
| 5/5 | selftests: forwarding: Add test for minimum and maximum MTUtools/ tools/ | +284 | 0 replies | Applied |
Reviews trailers per patch
All 5 patches have a Reviewed-by or Acked-by.
| Patch | Ido Schimmel | Petr Machata |
|---|---|---|
| 1/5 | R-b | |
| 2/5 | R-b | |
| 3/5 | R-b | |
| 4/5 | R-b | |
| 5/5 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next 0/5] mlxsw: Handle MTU values
Amit Cohen writes:
The driver uses two values for maximum MTU, but neither is accurate. In addition, the value which is configured to hardware is not calculated correctly. Handle these issues and expose accurate values for minimum and maximum MTU per netdevice.
Add test cases to check that the exposed values are really supported.
Patch set overview:
Patches #1-#3 set the driver to use accurate values for MTU Patch #4 aligns the driver to always use the same value for maximum MTU Patch #5 adds a test
Amit Cohen (5):
mlxsw: port: Edit maximum MTU value
mlxsw: Adjust MTU value to hardware check
mlxsw: spectrum: Set more accurate values for netdevice min/max MTU
mlxsw: Use the same maximum MTU value throughout the driver
selftests: forwarding: Add test for minimum and maximum MTU
drivers/net/ethernet/mellanox/mlxsw/port.h | 3 +- .../net/ethernet/mellanox/mlxsw/spectrum.c | 31 +- .../net/ethernet/mellanox/mlxsw/spectrum.h | 1 - .../mellanox/mlxsw/spectrum_buffers.c | 8 +- .../testing/selftests/net/forwarding/Makefile | 1 + .../selftests/net/forwarding/min_max_mtu.sh | 283 ++++++++++++++++++ 6 files changed, 295 insertions(+), 32 deletions(-) create mode 100755 tools/testing/selftests/net/forwarding/min_max_mtu.sh
Signature · 1 line
2.45.0