diff options
author | Petr Machata <petrm@mellanox.com> | 2018-06-28 18:56:33 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-06-30 20:34:09 +0900 |
commit | ec9fdc99f5a6a2cfe4061e807fcb0cc1129f0a2d (patch) | |
tree | 717b8fa29dbbbe4a730e60ab23726ee982b460ed /tools/perf/util/c++/clang.cpp | |
parent | ac0fcadf03f8f86be28980d7aa0a09c202ec4f78 (diff) |
selftests: forwarding: Tweak tc filters for mirror-to-gretap tests
When running mirror_gre_bridge_1d_vlan tests on veth, several issues
cause spurious failures:
- vlan_ethtype should be ip, not ipv6 even in mirror-to-ip6gretap case,
because the overlay packet is still IPv4.
- Similarly ip_proto matches the innermost IP protocol, so can't be used
to filter out GRE packet. Drop the corresponding condition.
- Because the above fixes the filters to match in slow path as well,
they need to be made skip_hw so as not to double-count packets.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/util/c++/clang.cpp')
0 files changed, 0 insertions, 0 deletions