diff options
author | Ido Schimmel <idosch@mellanox.com> | 2019-02-06 19:42:03 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-02-06 14:24:05 -0800 |
commit | a98232a16497ee642d049c519e69285c0cfb61a0 (patch) | |
tree | 123652be75fd40e03121cd439182cc8bf311d60e /drivers/block/Makefile | |
parent | 2810c3b252b902979fd7fe074123101cfc313fae (diff) | |
download | linux-a98232a16497ee642d049c519e69285c0cfb61a0.tar.gz linux-a98232a16497ee642d049c519e69285c0cfb61a0.tar.bz2 linux-a98232a16497ee642d049c519e69285c0cfb61a0.zip |
selftests: mlxsw: Add a test for blackhole routes
Use a simple topology consisting of two hosts directly connected to a
router. Make sure IPv4/IPv6 ping works and then add blackhole routes.
Test that ping fails and that the routes are marked as offloaded. Use a
simple tc filter to test that packets were dropped by the ASIC and not
trapped to the CPU.
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/block/Makefile')
0 files changed, 0 insertions, 0 deletions