]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
selftests: mlxsw: Add router test
authorArkadi Sharshevsky <arkadis@mellanox.com>
Sat, 30 Jun 2018 00:49:32 +0000 (02:49 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 30 Jun 2018 13:06:15 +0000 (22:06 +0900)
commitd98307c52b19354830af205a1a8346d13e2b1fa7
treea905834e0d3910b936a3fe4ecd701df72c38af82
parentb030c338116438700fc61fe572d82034f190d3e8
selftests: mlxsw: Add router test

This test aims for both stand alone and internal usage by the resource
infra. The test receives the number routes to offload and checks:
- The routes were offloaded correctly
- Traffic for each route.

Signed-off-by: Arkadi Sharshevsky <arkadis@mellanox.com>
Signed-off-by: Yuval Mintz <yuvalm@mellanox.com>
Reviewed-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: Petr Machata <petrm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/drivers/net/mlxsw/router_scale.sh [new file with mode: 0644]