mbox series

[net-next,0/3] mlxsw: Add speed and auto-negotiation test

Message ID 20190610084045.6029-1-idosch@idosch.org
Headers show
Series mlxsw: Add speed and auto-negotiation test | expand

Message

Ido Schimmel June 10, 2019, 8:40 a.m. UTC
From: Ido Schimmel <idosch@mellanox.com>

Amit says:

This patchset adds a selftest which tests different speeds and
auto-negotiation.

Patch #1 Adds functions that retrieve information from ethtool.

Patch #2 Adds option to wait for device with limit of iterations.

Patch #3 Adds the test.

Amit Cohen (3):
  selftests: mlxsw: Add ethtool_lib.sh
  selftests: mlxsw: lib.sh: Add wait for dev with timeout
  selftests: mlxsw: Add speed and auto-negotiation test

 .../selftests/drivers/net/mlxsw/ethtool.sh    | 308 ++++++++++++++++++
 .../selftests/net/forwarding/ethtool_lib.sh   |  91 ++++++
 tools/testing/selftests/net/forwarding/lib.sh |  28 +-
 3 files changed, 424 insertions(+), 3 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/mlxsw/ethtool.sh
 create mode 100755 tools/testing/selftests/net/forwarding/ethtool_lib.sh