Thread View: linux.kernel.netdev
1 messages
1 total messages
Started by Nikolay Aleksandrov
Fri, 13 Nov 2026 09:35
Re: [PATCH net-next 2/2] selftests: bonding: Add a test for 802.3ad with coupled control disabled
Author: Nikolay Aleksandrov
Date: Fri, 13 Nov 2026 09:35
Date: Fri, 13 Nov 2026 09:35
39 lines
12483 bytes
12483 bytes
On 11/11/2026 19:19, Ido Schimmel wrote: > Test that with coupled control disabled, a port in COLLECTING state > receives packets. > > In this mode, a port only transitions from COLLECTING to DISTRIBUTING > state if its partner sets the Collecting bit in its LACPDUs. Therefore, > keep the port in COLLECTING state by clearing the Collecting bit in > received LACPDUs. > > Also test that ping works once the port moves to DISTRIBUTING state. > > Use VRFs rather than network namespaces so that the test could be run > with a veth pair or a pair of physically connected ports. > > Output without "bonding: 3ad: Receive packets in COLLECTING state": > > # ./bond_lacp_independent_control.sh > TEST: Receive in COLLECTING state [FAIL] > Packets not received in COLLECTING state > TEST: Ping in DISTRIBUTING state [ OK ] > > Output with the fix: > > # ./bond_lacp_independent_control.sh > TEST: Receive in COLLECTING state [ OK ] > TEST: Ping in DISTRIBUTING state [ OK ] > > Reviewed-by: Petr Machata <petrm@nvidia.com> > Signed-off-by: Ido Schimmel <idosch@nvidia.com> > --- > .../selftests/drivers/net/bonding/Makefile | 1 + > .../bonding/bond_lacp_independent_control.sh | 144 ++++++++++++++++++ > .../selftests/drivers/net/bonding/config | 6 + > 3 files changed, 151 insertions(+) > create mode 100755 tools/testing/selftests/drivers/net/bonding/bond_lacp_independent_control.sh > Reviewed-by: Nikolay Aleksandrov <razor@blackwall.org>
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads