]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Test changes in mirror-to-gretap
authorPetr Machata <petrm@mellanox.com>
Thu, 26 Apr 2018 23:22:25 +0000 (01:22 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Apr 2018 18:57:50 +0000 (14:57 -0400)
commita2aedf1f203659e6aea583c7b4da80d1187957df
tree5057de20e907a10aa86681fded7436a04c008f26
parent134515b0fca90b45444f7dff5416775dd6b96669
selftests: forwarding: Test changes in mirror-to-gretap

These tests set up mirroring in a situation that the configuration is
incorrect, i.e. mirrored packets, if any, are not supposed to reach
destination tunnel device. Then the configuration is rectified and
mirroring is checked to have started working.

Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/mirror_gre_changes.sh [new file with mode: 0755]