selftest: netdevsim: Add devlink rate test
authorDmytro Linkin <dlinkin@nvidia.com>
Wed, 2 Jun 2021 12:17:21 +0000 (15:17 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Jun 2021 21:08:37 +0000 (14:08 -0700)
commita27d8e352bf252eb44b04c9e628a8d759956bdd2
tree373647ad52af0c23944eaf1f74202a568d375959
parent885dfe121b3862d0cc1de98a69f1ca37d18e3495
selftest: netdevsim: Add devlink rate test

Test verifies that all netdevsim VF ports have rate leaf object created
by default.

Co-developed-by: Vlad Buslov <vladbu@nvidia.com>
Signed-off-by: Vlad Buslov <vladbu@nvidia.com>
Signed-off-by: Dmytro Linkin <dlinkin@nvidia.com>
Reviewed-by: Jiri Pirko <jiri@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/netdevsim/devlink.sh