mlxsw: spectrum: Implement loopback ethtool feature
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | mlxsw: reg: Add Port Physical Loopback Registerdrivers/ | +37 | 0 replies | |
| 2/3 | mlxsw: spectrum: Implement loopback ethtool featuredrivers/ | +33 | 0 replies | |
| 3/3 | selftests: Add loopback testtools/ | +94 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/3] mlxsw: spectrum: Implement loopback ethtool feature
From: Ido Schimmel <[email protected]>
This patchset from Jiri allows users to enable loopback feature for individual ports using ethtool. The loopback feature is useful for testing purposes and will also be used by upcoming patchsets to enable the monitoring of buffer drops.
Patch #1 adds the relevant device register.
Patch #2 Implements support in the driver.
Patch #3 adds a selftest.
Jiri Pirko (3):
mlxsw: reg: Add Port Physical Loopback Register
mlxsw: spectrum: Implement loopback ethtool feature
selftests: Add loopback test
drivers/net/ethernet/mellanox/mlxsw/reg.h | 37 ++++++++ .../net/ethernet/mellanox/mlxsw/spectrum.c | 35 ++++++- .../selftests/net/forwarding/loopback.sh | 94 +++++++++++++++++++ 3 files changed, 164 insertions(+), 2 deletions(-) create mode 100755 tools/testing/selftests/net/forwarding/loopback.sh
Signature · 1 line
2.20.1