diff options
| author | Amit Cohen <[email protected]> | 2025-03-17 17:37:31 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-24 22:09:31 +0000 |
| commit | 36ed81bcade9b96e0c7be7cb6bdb5b6773a3ace0 (patch) | |
| tree | 4eaf83b19ef62816daa49f829a52c3975aa52458 /net/unix/af_unix.c | |
| parent | mlxsw: Add VXLAN bridge ports to same hardware domain as physical bridge ports (diff) | |
| download | kernel-36ed81bcade9b96e0c7be7cb6bdb5b6773a3ace0.tar.gz kernel-36ed81bcade9b96e0c7be7cb6bdb5b6773a3ace0.zip | |
selftests: vxlan_bridge: Test flood with unresolved FDB entry
Extend flood test to configure FDB entry with unresolved destination IP,
check that packets are not sent twice.
Without the previous patch which handles such scenario in mlxsw, the
tests fail:
$ TESTS='test_flood' ./vxlan_bridge_1d.sh
Running tests with UDP port 4789
TEST: VXLAN: flood [ OK ]
TEST: VXLAN: flood, unresolved FDB entry [FAIL]
vx2 ns2: Expected to capture 10 packets, got 20.
$ TESTS='test_flood' ./vxlan_bridge_1q.sh
INFO: Running tests with UDP port 4789
TEST: VXLAN: flood vlan 10 [ OK ]
TEST: VXLAN: flood vlan 20 [ OK ]
TEST: VXLAN: flood vlan 10, unresolved FDB entry [FAIL]
vx10 ns2: Expected to capture 10 packets, got 20.
TEST: VXLAN: flood vlan 20, unresolved FDB entry [FAIL]
vx20 ns2: Expected to capture 10 packets, got 20.
With the previous patch, the tests pass.
Signed-off-by: Amit Cohen <[email protected]>
Reviewed-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://patch.msgid.link/7bc96e317531f3bf06319fb2ea447bd8666f29fa.1742224300.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
