1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/tools/testing/selftests/net/lib/py
David Wei 1cf2704242 net: selftest: add test for netdev netlink queue-get API
Add a selftest for netdev generic netlink. For now there is only a
single test that exercises the `queue-get` API.

The test works with netdevsim by default or with a real device by
setting NETIF.

Add a timeout param to cmd() since ethtool -L can take a long time on
real devices.

Signed-off-by: David Wei <dw@davidwei.uk>
Link: https://lore.kernel.org/r/20240507163228.2066817-3-dw@davidwei.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2024-05-08 18:59:47 -07:00
..
__init__.py selftests: drv-net: construct environment for running tests which require an endpoint 2024-04-23 10:13:56 -07:00
consts.py selftests: net: add scaffolding for Netlink tests in Python 2024-04-08 11:40:41 +01:00
ksft.py selftests: drv-net-hw: add test for memory allocation failures with page pool 2024-04-30 08:15:32 -07:00
netns.py selftests: drv-net: construct environment for running tests which require an endpoint 2024-04-23 10:13:56 -07:00
nsim.py net: selftest: add test for netdev netlink queue-get API 2024-05-08 18:59:47 -07:00
utils.py net: selftest: add test for netdev netlink queue-get API 2024-05-08 18:59:47 -07:00
ynl.py selftests: net: add scaffolding for Netlink tests in Python 2024-04-08 11:40:41 +01:00