From: Ido Schimmel <ido...@mellanox.com>

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

-- 
2.20.1

Reply via email to