diff options
author | 2018-07-08 19:58:55 +0200 | |
---|---|---|
committer | 2018-07-10 22:58:10 -0700 | |
commit | db560d1612f81c932df8d31e6f3bf7581c32ba91 (patch) | |
tree | 0adfef0d3a32b31a311f44e21852561d1b007b8a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | Merge branch 'cake-qdisc' (diff) | |
download | linux-rng-db560d1612f81c932df8d31e6f3bf7581c32ba91.tar.xz linux-rng-db560d1612f81c932df8d31e6f3bf7581c32ba91.zip |
selftests: forwarding: mirror_lib: Tighten up VLAN capture
The function do_test_span_vlan_dir_ips() is used for testing whether
mirrored packets are VLAN-encapsulated. But since it only considers
VLAN encapsulation, it may end up matching unmirrored ARP traffic as
well. One consequence is a rare failure of mirror_gre_vlan_bridge_1q's
test_gretap_untagged_egress. Decreasing ping cadence in mirror_test()
makes the problem easily reproducible.
Therefore tighten up the match criterion to only count those 802.1q
packets where the next header is IP.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions