mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00

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 <jiri@nvidia.com> Reviewed-by: Petr Machata <petrm@nvidia.com> Tested-by: Benjamin Poirier <bpoirier@nvidia.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
15 lines
269 B
Makefile
15 lines
269 B
Makefile
# SPDX-License-Identifier: GPL-2.0+ OR MIT
|
|
|
|
TEST_PROGS = basic_features.sh \
|
|
#
|
|
|
|
TEST_FILES = \
|
|
virtio_net_common.sh \
|
|
#
|
|
|
|
TEST_INCLUDES = \
|
|
../../../net/forwarding/lib.sh \
|
|
../../../net/lib.sh \
|
|
#
|
|
|
|
include ../../../lib.mk
|