selftests: forwarding: gre_multipath: Update next-hop statistics match criteria
authorNir Dotan <nird@mellanox.com>
Tue, 7 Aug 2018 16:41:55 +0000 (19:41 +0300)
committerDavid S. Miller <davem@davemloft.net>
Tue, 7 Aug 2018 23:02:30 +0000 (16:02 -0700)
commit541ad323db3a692a80c276785a15790ba52da24b
tree8dc1141d2bdce91ea3160cf9b5797dd550ffb896
parent736ac8146404560215e7aaf4e28fc2d8746a72d1
selftests: forwarding: gre_multipath: Update next-hop statistics match criteria

gre_multipath test was using egress vlan_id matching on flows, for the
purpose of collecting next-hops statistics, later to be compared
against configured weights.
As matching on vlan_id on egress direction is not supported on all HW
devices, change the match criteria to use destination IP.

Signed-off-by: Nir Dotan <nird@mellanox.com>
Acked-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/gre_multipath.sh