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 <[email protected]>Closes: https://lore.kernel.org/netdev/[email protected]/Reported-by: Matthieu Baerts <[email protected]>Closes: https://lore.kernel.org/netdev/[email protected]/Fixes: ccfaed04db5e ("selftests: virtio_net: add initial tests")Signed-off-by: Jiri Pirko <[email protected]>Reviewed-by: Xuan Zhuo <[email protected]>Acked-by: Michael S. Tsirkin <[email protected]>Link: https://lore.kernel.org/r/[email protected]Signed-off-by: Jakub Kicinski <[email protected]>
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 <[email protected]>Reviewed-by: Petr Machata <[email protected]>Tested-by: Benjamin Poirier <[email protected]>Signed-off-by: Paolo Abeni <[email protected]>