mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
selftests: devlink_trap: Add test cases for devlink-trap
Add test cases for devlink-trap on top of the netdevsim implementation. The tests focus on the devlink-trap core infrastructure and user space API. They test both good and bad flows and also dismantle of the netdev and devlink device used to report trapped packets. This allows device drivers to focus their tests on device-specific functionality. Signed-off-by: Ido Schimmel <idosch@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a054c8d90b
commit
b3cb7df9ec
1 changed files with 364 additions and 0 deletions
364
tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh
Executable file
364
tools/testing/selftests/drivers/net/netdevsim/devlink_trap.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue