Commit 541ad323 authored by Nir Dotan's avatar Nir Dotan Committed by David S. Miller

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: default avatarNir Dotan <nird@mellanox.com>
Acked-by: default avatarPetr Machata <petrm@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 736ac814
...@@ -95,10 +95,10 @@ sw1_create() ...@@ -95,10 +95,10 @@ sw1_create()
nexthop dev g1b nexthop dev g1b
tc qdisc add dev $ul1 clsact tc qdisc add dev $ul1 clsact
tc filter add dev $ul1 egress pref 111 prot 802.1q \ tc filter add dev $ul1 egress pref 111 prot ipv4 \
flower vlan_id 111 action pass flower dst_ip 192.0.2.66 action pass
tc filter add dev $ul1 egress pref 222 prot 802.1q \ tc filter add dev $ul1 egress pref 222 prot ipv4 \
flower vlan_id 222 action pass flower dst_ip 192.0.2.82 action pass
} }
sw1_destroy() sw1_destroy()
......
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