• Ido Schimmel's avatar
    selftests: net: Add missing matchall classifier · b40f873a
    Ido Schimmel authored
    One of the test cases in the test_bridge_backup_port.sh selftest relies
    on a matchall classifier to drop unrelated traffic so that the Tx drop
    counter on the VXLAN device will only be incremented as a result of
    traffic generated by the test.
    
    However, the configuration option for the matchall classifier is
    missing from the configuration file which might explain the failures we
    see in the netdev CI [1].
    
    Fix by adding CONFIG_NET_CLS_MATCHALL to the configuration file.
    
    [1]
     # Backup nexthop ID - invalid IDs
     # -------------------------------
     [...]
     # TEST: Forwarding out of vx0                                         [ OK ]
     # TEST: No forwarding using backup nexthop ID                         [ OK ]
     # TEST: Tx drop increased                                             [FAIL]
     # TEST: IPv6 address family nexthop as backup nexthop                 [ OK ]
     # TEST: No forwarding out of swp1                                     [ OK ]
     # TEST: Forwarding out of vx0                                         [ OK ]
     # TEST: No forwarding using backup nexthop ID                         [ OK ]
     # TEST: Tx drop increased                                             [FAIL]
     [...]
    
    Fixes: b4084530 ("selftests: net: Add bridge backup port and backup nexthop ID test")
    Signed-off-by: default avatarIdo Schimmel <idosch@nvidia.com>
    Acked-by: default avatarNikolay Aleksandrov <razor@blackwall.org>
    Link: https://lore.kernel.org/r/20240129123703.1857843-1-idosch@nvidia.comSigned-off-by: default avatarJakub Kicinski <kuba@kernel.org>
    b40f873a
config 1.8 KB