mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-16 22:39:48 +00:00
selftests: Add an occupancy test for RIF MAC profiles
When all the RIF MAC profiles are in use, test that it is possible to change the MAC of a netdev (i.e., a RIF) when its MAC profile is not shared with other RIFs. Test that replacement fails when the MAC profile is shared. 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
a10b7bacde
commit
20d446db61
1 changed files with 117 additions and 0 deletions
117
tools/testing/selftests/drivers/net/mlxsw/rif_mac_profiles_occ.sh
Executable file
117
tools/testing/selftests/drivers/net/mlxsw/rif_mac_profiles_occ.sh
Executable file
Loading…
Add table
Add a link
Reference in a new issue