Commit 2243cad9 authored by Petr Machata's avatar Petr Machata Committed by David S. Miller

selftests: forwarding: mirror_gre_bridge_1q_lag: Ignore ARP

This test sets up mirroring such that it mirrors all overlay traffic.
That includes ARP, which causes occasional miscounts and spurious
failures. Ignore ARP explicitly to avoid these problems.
Signed-off-by: default avatarPetr Machata <petrm@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ba22b65e
...@@ -224,8 +224,11 @@ test_lag_slave() ...@@ -224,8 +224,11 @@ test_lag_slave()
RET=0 RET=0
tc filter add dev $swp1 ingress pref 999 \
proto 802.1q flower vlan_ethtype arp $tcflags \
action pass
mirror_install $swp1 ingress gt4 \ mirror_install $swp1 ingress gt4 \
"proto 802.1q flower vlan_id 333 $tcflags" "proto 802.1q flower vlan_id 333 $tcflags"
# Test connectivity through $up_dev when $down_dev is set down. # Test connectivity through $up_dev when $down_dev is set down.
ip link set dev $down_dev down ip link set dev $down_dev down
...@@ -245,6 +248,7 @@ test_lag_slave() ...@@ -245,6 +248,7 @@ test_lag_slave()
ip link set dev $up_dev up ip link set dev $up_dev up
ip link set dev $down_dev up ip link set dev $down_dev up
mirror_uninstall $swp1 ingress mirror_uninstall $swp1 ingress
tc filter del dev $swp1 ingress pref 999
log_test "$what ($tcflags)" log_test "$what ($tcflags)"
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment