summaryrefslogtreecommitdiff
path: root/drivers/net/hippi/rrunner.c
diff options
context:
space:
mode:
authorIdo Schimmel <idosch@nvidia.com>2022-04-19 16:51:55 +0300
committerDavid S. Miller <davem@davemloft.net>2022-04-20 17:04:27 +0300
commit5e6242151d7f17b056a82ca7b860c4ec8eaa7589 (patch)
tree5f87b58446f342c9a763fe803d33bc4716e06ddb /drivers/net/hippi/rrunner.c
parent044011fdf162c5dd61c02841930c8f438a9adadb (diff)
downloadlinux-5e6242151d7f17b056a82ca7b860c4ec8eaa7589.tar.xz
selftests: mlxsw: vxlan_flooding_ipv6: Prevent flooding of unwanted packets
The test verifies that packets are correctly flooded by the bridge and the VXLAN device by matching on the encapsulated packets at the other end. However, if packets other than those generated by the test also ingress the bridge (e.g., MLD packets), they will be flooded as well and interfere with the expected count. Make the test more robust by making sure that only the packets generated by the test can ingress the bridge. Drop all the rest using tc filters on the egress of 'br0' and 'h1'. In the software data path, the problem can be solved by matching on the inner destination MAC or dropping unwanted packets at the egress of the VXLAN device, but this is not currently supported by mlxsw. Fixes: d01724dd2a66 ("selftests: mlxsw: spectrum-2: Add a test for VxLAN flooding with IPv6") Signed-off-by: Ido Schimmel <idosch@nvidia.com> Reviewed-by: Amit Cohen <amcohen@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hippi/rrunner.c')
0 files changed, 0 insertions, 0 deletions