summaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/drivers/net/netdevsim/ethtool-common.sh
Commit message (Collapse)AuthorAgeFilesLines
* selftests: net: test ethtool -L vs mqJakub Kicinski2021-09-151-1/+1
| | | | | | | Add a selftest for checking mq children are visible after ethtool -L. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* selftests: ethtool: add a netdevsim FEC testJakub Kicinski2021-03-311-1/+4
| | | | | | | Test FEC settings, iterate over configs. Signed-off-by: Jakub Kicinski <kuba@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
* selftests: refactor get_netdev_name functionAntonio Cardace2020-11-201-18/+2
| | | | | | | | | | | | | As pointed out by Michal Kubecek, getting the name with the previous approach was racy, it's better and easier to get the name of the device with this patch's approach. Essentialy the function doesn't need to exist anymore as it's a simple 'ls' command. Signed-off-by: Antonio Cardace <acardace@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
* selftests: extract common functions in ethtool-common.shAntonio Cardace2020-11-201-0/+69
Factor out some useful functions so that they can be reused by other ethtool-netdevsim scripts. Signed-off-by: Antonio Cardace <acardace@redhat.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>