Skip to content

Commit 48dea8f

Browse files
Jiri Pirkokuba-moo
authored andcommitted
selftests: virtio_net: add forgotten config options
One may use tools/testing/selftests/drivers/net/virtio_net/config for example for vng build command like this one: $ vng -v -b -f tools/testing/selftests/drivers/net/virtio_net/config In 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: ccfaed0 ("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.us Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent 3f67782 commit 48dea8f

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

  • tools/testing/selftests/drivers/net/virtio_net
Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,8 @@
1-
CONFIG_VIRTIO_NET=y
1+
CONFIG_BPF_SYSCALL=y
2+
CONFIG_CGROUP_BPF=y
3+
CONFIG_IPV6=y
4+
CONFIG_IPV6_MULTIPLE_TABLES=y
5+
CONFIG_NET_L3_MASTER_DEV=y
6+
CONFIG_NET_VRF=m
27
CONFIG_VIRTIO_DEBUG=y
8+
CONFIG_VIRTIO_NET=y

0 commit comments

Comments
 (0)