Commit Graph
1 Commits
Author SHA1 Message Date
Jiri Pirko ccfaed04db selftests: virtio_net: add initial tests
Introduce initial tests for virtio_net driver. Focus on feature testing
leveraging previously introduced debugfs feature filtering
infrastructure. Add very basic ping and F_MAC feature tests.

To run this, do:
$ make -C tools/testing/selftests/ TARGETS=drivers/net/virtio_net/ run_tests

Run it on a system with 2 virtio_net devices connected back-to-back
on the hypervisor.

Signed-off-by: Jiri Pirko <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Tested-by: Benjamin Poirier <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
2024-04-26 13:26:53 +02:00