]> Git Repo - linux.git/commit
selftests: forwarding: Make vxlan-bridge-1q pass on debug kernels
authorIdo Schimmel <[email protected]>
Mon, 4 Mar 2024 09:56:10 +0000 (11:56 +0200)
committerJakub Kicinski <[email protected]>
Tue, 5 Mar 2024 17:18:10 +0000 (09:18 -0800)
commitdfbab74044be66852ebb9d4b2cbef2f082e82531
tree3512ab0d1b32262b8f49b4355527021adf412236
parent4aca9eae6f7bfea30467fce6b1062f1bf5f21e9b
selftests: forwarding: Make vxlan-bridge-1q pass on debug kernels

The ageing time used by the test is too short for debug kernels and
results in entries being aged out prematurely [1].

Fix by increasing the ageing time.

[1]
 # ./vxlan_bridge_1q.sh
 [...]
 INFO: learning vlan 10
 TEST: VXLAN: flood before learning                                  [ OK ]
 TEST: VXLAN: show learned FDB entry                                 [ OK ]
 TEST: VXLAN: learned FDB entry                                      [FAIL]
         swp4: Expected to capture 0 packets, got 10.
 RTNETLINK answers: No such file or directory
 TEST: VXLAN: deletion of learned FDB entry                          [ OK ]
 TEST: VXLAN: Ageing of learned FDB entry                            [FAIL]
         swp4: Expected to capture 0 packets, got 10.
 TEST: VXLAN: learning toggling on bridge port                       [ OK ]
 [...]

Signed-off-by: Ido Schimmel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
tools/testing/selftests/net/forwarding/vxlan_bridge_1q.sh
This page took 0.083149 seconds and 4 git commands to generate.