Thread (7 messages) 7 messages, 3 authors, 2025-08-01

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

From: Hangbin Liu <hidden>
Date: 2025-08-01 09:02:02
Also in: linux-doc, linux-kselftest, lkml

On Fri, Jul 25, 2025 at 07:21:12AM -0700, Jakub Kicinski wrote:
On Fri, 25 Jul 2025 06:28:48 +0000 Hangbin Liu wrote:
quoted
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
I guess on the normal kernel, the checking starts too soon before negotiation
finished. I will add some sleep time before checking.

Thanks
Hangbin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help