selftests: virtio_net: add forgotten config optionsOne may use tools/testing/selftests/drivers/net/virtio_net/configfor example for vng build command like this one:$ vng -v -b -f tools/testing/se
selftests: virtio_net: add forgotten config optionsOne may use tools/testing/selftests/drivers/net/virtio_net/configfor example for vng build command like this one:$ vng -v -b -f tools/testing/selftests/drivers/net/virtio_net/configIn that case, the needed kernel config options are not turned on.Add the missed kernel config options.Reported-by: Jakub Kicinski <kuba@kernel.org>Closes: https://lore.kernel.org/netdev/20240617072614.75fe79e7@kernel.org/Reported-by: Matthieu Baerts <matttbe@kernel.org>Closes: https://lore.kernel.org/netdev/1a63f209-b1d4-4809-bc30-295a5cafa296@kernel.org/Fixes: ccfaed04db5e ("selftests: virtio_net: add initial tests")Signed-off-by: Jiri Pirko <jiri@nvidia.com>Reviewed-by: Xuan Zhuo <xuanzhuo@linux.alibaba.com>Acked-by: Michael S. Tsirkin <mst@redhat.com>Link: https://lore.kernel.org/r/20240619061748.1869404-1-jiri@resnulli.usSigned-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
selftests: virtio_net: add initial testsIntroduce initial tests for virtio_net driver. Focus on feature testingleveraging previously introduced debugfs feature filteringinfrastructure. Add very b
selftests: virtio_net: add initial testsIntroduce initial tests for virtio_net driver. Focus on feature testingleveraging previously introduced debugfs feature filteringinfrastructure. Add very basic ping and F_MAC feature tests.To run this, do:$ make -C tools/testing/selftests/ TARGETS=drivers/net/virtio_net/ run_testsRun it on a system with 2 virtio_net devices connected back-to-backon 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>