]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: forwarding: Add device-only nexthop test
authorIdo Schimmel <idosch@nvidia.com>
Thu, 19 Nov 2020 13:08:47 +0000 (15:08 +0200)
committerJakub Kicinski <kuba@kernel.org>
Fri, 20 Nov 2020 23:20:20 +0000 (15:20 -0800)
commitdd12c3d3a7ca01165ff58cac9ac75ed69be41b35
tree8abeacd0c47958f28959dbcb66160b148f74a5bc
parentb6c565ddd55c176bd78d65909aff932f91d9619f
selftests: forwarding: Add device-only nexthop test

In a similar fashion to router_multipath.sh and its nexthop objects
version router_mpath_nh.sh, create a nexthop objects version of
router.sh.

It reuses the same topology, but uses device-only nexthop objects
instead of legacy ones.

Signed-off-by: Ido Schimmel <idosch@nvidia.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/net/forwarding/router_nh.sh [new file with mode: 0755]