Re: [PATCH net 2/2] selftests: bonding: add test for passive LACP mode

From
Jakub Kicinski <kuba@kernel.org>
Date
2025-07-25 14:21:13
Also in
linux-doc, linux-kselftest, lkml
Reply to
Hangbin Liu, 2025-07-25
On Fri, 25 Jul 2025 06:28:48 +0000 Hangbin Liu wrote:
Add a selftest to verify bonding behavior when `lacp_active` is set to `off`.

The test checks the following:
- The passive LACP bond should not send LACPDUs before receiving a partner's
  LACPDU.
- The transmitted LACPDUs must not include the active flag.
- After transitioning to EXPIRED and DEFAULTED states, the passive side should
  still not initiate LACPDUs.
Strangely this test fails on a normal kernel build but passes with
debug options enabled:

https://netdev.bots.linux.dev/contest.html?branch=net-next-2025-07-25--09-00&test=bond-passive-lacp-sh
Thread (7 messages) 7 messages, 3 authors, last reply 2025-08-01
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help