selftests: net: unify the Makefile formatsWe get a significant number of conflicts between net and net-nextbecause of selftests Makefile changes. People tend to append newtest cases at the end of
selftests: net: unify the Makefile formatsWe get a significant number of conflicts between net and net-nextbecause of selftests Makefile changes. People tend to append newtest cases at the end of the Makefile when there's no clear sortorder. Sort all networking selftests Makefiles, use the followingformat: VAR_NAME := \ entry1 \ entry2 \ entry3 \ # end of VAR_NAMESome Makefiles are already pretty close to this.Acked-by: Antonio Quartulli <antonio@openvpn.net>Acked-by: Matthieu Baerts (NGI0) <matttbe@kernel.org>Acked-by: Allison Henderson <allison.henderson@oracle.com>Reviewed-by: Petr Machata <petrm@nvidia.com>Link: https://patch.msgid.link/20251003210127.1021918-1-kuba@kernel.orgSigned-off-by: Jakub Kicinski <kuba@kernel.org>
show more ...
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>
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>