]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: mlxsw: Add a test case for MAC profiles consolidation
authorDanielle Ratson <danieller@nvidia.com>
Tue, 14 Dec 2021 10:21:37 +0000 (12:21 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 14 Dec 2021 12:56:10 +0000 (12:56 +0000)
commit06f1db781cee348432ba5260d5d84f688054f806
tree384fc6cd5ca7a5394d1ebafd7be3400921b355e9
parent955f84b7656b9f1efe60ac7684786190b8812e1d
selftests: mlxsw: Add a test case for MAC profiles consolidation

Add a test case to cover the bug fixed by the previous patch.

Edit the MAC address of one netdev so that it matches the MAC address of
the second netdev. Verify that the two MAC profiles were consolidated by
testing that the MAC profiles occupancy decreased by one.

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>
tools/testing/selftests/drivers/net/mlxsw/rif_mac_profiles_occ.sh