mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
selftests: mlxsw: Add forwarding test for RIF MAC profiles
Verify that MAC profile changes are indeed applied and that packets are forwarded with the correct source MAC. Output example: $ ./rif_mac_profiles.sh TEST: h1->h2: new mac profile [ OK ] TEST: h2->h1: new mac profile [ OK ] TEST: h1->h2: edit mac profile [ OK ] TEST: h2->h1: edit mac profile [ OK ] Signed-off-by: Danielle Ratson <danieller@nvidia.com> Signed-off-by: Ido Schimmel <idosch@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
152f98e7c5
commit
a10b7bacde
1 changed files with 213 additions and 0 deletions
213
tools/testing/selftests/drivers/net/mlxsw/rif_mac_profiles.sh
Executable file
213
tools/testing/selftests/drivers/net/mlxsw/rif_mac_profiles.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue