selftests: bonding: use tc filter to check if LACP was sent
authorHangbin Liu <liuhangbin@gmail.com>
Mon, 5 Feb 2024 13:00:46 +0000 (21:00 +0800)
committerJakub Kicinski <kuba@kernel.org>
Thu, 8 Feb 2024 02:26:20 +0000 (18:26 -0800)
commit9150820c88304a9f52452bc18725c88f137688d8
tree303b00e5a2038c7a9b3b2b684ff9e6d909ec315e
parentc8f4b19d64b93091ca30fe6800f41d1532bd7507
selftests: bonding: use tc filter to check if LACP was sent

Use tc filter to check if LACP was sent, which is accurate and save
more time.

No need to remove bonding module as some test env may buildin bonding.
And the bond link has been deleted.

Reviewed-by: Przemek Kitszel <przemyslaw.kitszel@intel.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://lore.kernel.org/r/20240205130048.282087-3-liuhangbin@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
tools/testing/selftests/drivers/net/bonding/bond-break-lacpdu-tx.sh