]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Test action VLAN modify
authorDanielle Ratson <danieller@mellanox.com>
Thu, 28 Mar 2019 12:12:21 +0000 (12:12 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 29 Mar 2019 00:20:52 +0000 (17:20 -0700)
commitd67a58518588330baa6a75b590944797fca432d2
tree9722bfafe7448f6aedb79807029452363c883605
parentf0b8078d3cde4913b655af0a59e3b50a072d0846
selftests: forwarding: Test action VLAN modify

Construct a basic topology consisting of two hosts connected using a
VLAN-aware bridge. Put each port in a different VLAN and test that ping
fails.

Add ingress and egress filters with a VLAN modify action and test that
ping passes.

Signed-off-by: Danielle Ratson <danieller@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/tc_vlan_modify.sh [new file with mode: 0755]