summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/sparc64
diff options
context:
space:
mode:
authorDanielle Ratson <danieller@nvidia.com>2021-02-02 20:06:12 +0200
committerJakub Kicinski <kuba@kernel.org>2021-02-03 18:37:29 -0800
commitf72e2f48c71051f54e6fa214dc57f586386173b5 (patch)
treed70a38d26d064f2043d4199f8ded08ad899fcbd8 /tools/testing/selftests/sparc64
parent25a96f057a0fab318376c85bd83afda267f8ad33 (diff)
net: selftests: Add lanes setting test
Test that setting lanes parameter is working. Set max speed and max lanes in the list of advertised link modes, and then try to set max speed with the lanes below max lanes if exists in the list. And then, test that setting number of lanes larger than max lanes fails. Do the above for both autoneg on and off. $ ./ethtool_lanes.sh TEST: 4 lanes is autonegotiated [ OK ] TEST: Lanes number larger than max width is not set [ OK ] TEST: Autoneg off, 4 lanes detected during force mode [ OK ] TEST: Lanes number larger than max width is not set [ OK ] Signed-off-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/selftests/sparc64')
0 files changed, 0 insertions, 0 deletions