diff mbox series

[net] selftests: net: add more missing kernel config

Message ID 38d3ca7f909736c1aef56e6244d67c82a9bba6ff.1707326987.git.pabeni@redhat.com (mailing list archive)
State Accepted
Commit 02d9009f4e8c27dcf10c3e39bc0666436686a219
Headers show
Series [net] selftests: net: add more missing kernel config | expand

Commit Message

Paolo Abeni Feb. 7, 2024, 5:31 p.m. UTC
The reuseport_addr_any.sh is currently skipping DCCP tests and
pmtu.sh is skipping all the FOU/GUE related cases: add the missing
options.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
---
Note that this does not include the - still missing - OVS-related
option and pmtu.sh is will keep skipping such cases. Such tests
will still fail in the virtme environment even with the relevant
kernel options enabled, as they have an hard to solve dependency
on systemd/dbus.
The longer term plan is to move such test cases in the openvswitch
directory. One short term option to avoid skips in selftests results
while retaining the potential code coverage would be making the ovs
tests disabled by default but reachable via pmtu.sh command line
arguments.
---
 tools/testing/selftests/net/config | 5 +++++
 1 file changed, 5 insertions(+)

Comments

Eric Dumazet Feb. 7, 2024, 6:04 p.m. UTC | #1
On Wed, Feb 7, 2024 at 6:31 PM Paolo Abeni <pabeni@redhat.com> wrote:
>
> The reuseport_addr_any.sh is currently skipping DCCP tests and
> pmtu.sh is skipping all the FOU/GUE related cases: add the missing
> options.
>
> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
> ---

SGTM thanks.
Reviewed-by: Eric Dumazet <edumazet@google.com>
patchwork-bot+netdevbpf@kernel.org Feb. 9, 2024, 3:10 a.m. UTC | #2
Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed,  7 Feb 2024 18:31:10 +0100 you wrote:
> The reuseport_addr_any.sh is currently skipping DCCP tests and
> pmtu.sh is skipping all the FOU/GUE related cases: add the missing
> options.
> 
> Signed-off-by: Paolo Abeni <pabeni@redhat.com>
> ---
> Note that this does not include the - still missing - OVS-related
> option and pmtu.sh is will keep skipping such cases. Such tests
> will still fail in the virtme environment even with the relevant
> kernel options enabled, as they have an hard to solve dependency
> on systemd/dbus.
> The longer term plan is to move such test cases in the openvswitch
> directory. One short term option to avoid skips in selftests results
> while retaining the potential code coverage would be making the ovs
> tests disabled by default but reachable via pmtu.sh command line
> arguments.
> 
> [...]

Here is the summary with links:
  - [net] selftests: net: add more missing kernel config
    https://git.kernel.org/netdev/net/c/02d9009f4e8c

You are awesome, thank you!
diff mbox series

Patch

diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config
index 3b749addd364..54d21e2911a9 100644
--- a/tools/testing/selftests/net/config
+++ b/tools/testing/selftests/net/config
@@ -13,6 +13,10 @@  CONFIG_IPV6=y
 CONFIG_IPV6_MULTIPLE_TABLES=y
 CONFIG_VETH=y
 CONFIG_NET_IPVTI=y
+CONFIG_NET_FOU=y
+CONFIG_NET_FOU_IP_TUNNELS=y
+CONFIG_NET_IPIP=y
+CONFIG_IPV6_SIT=y
 CONFIG_IPV6_VTI=y
 CONFIG_DUMMY=y
 CONFIG_BRIDGE_VLAN_FILTERING=y
@@ -24,6 +28,7 @@  CONFIG_IFB=y
 CONFIG_INET_DIAG=y
 CONFIG_INET_ESP=y
 CONFIG_INET_ESP_OFFLOAD=y
+CONFIG_IP_DCCP=m
 CONFIG_IP_GRE=m
 CONFIG_NETFILTER=y
 CONFIG_NETFILTER_ADVANCED=y