<feed xmlns='http://www.w3.org/2005/Atom'>
<title>kernel/tools/testing/selftests/drivers/net/bonding/Makefile, branch linux-rolling-stable</title>
<subtitle>Hosts the 0x221E linux distro kernel.</subtitle>
<id>https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable</id>
<link rel='self' href='https://universe.0xinfinity.dev/distro/kernel/atom?h=linux-rolling-stable'/>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/'/>
<updated>2025-11-11T02:34:44Z</updated>
<entry>
<title>selftest: netcons: add test for netconsole over bonded interfaces</title>
<updated>2025-11-11T02:34:44Z</updated>
<author>
<name>Breno Leitao</name>
<email>leitao@debian.org</email>
</author>
<published>2025-11-07T14:03:40Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=236682db3b6fe71cad76ac5e920ea4c14a33178e'/>
<id>urn:sha1:236682db3b6fe71cad76ac5e920ea4c14a33178e</id>
<content type='text'>
This patch adds a selftest that verifies netconsole functionality
over bonded network interfaces using netdevsim. It sets up two bonded
interfaces acting as transmit (TX) and receive (RX) ends, placed in
separate network namespaces. The test sends kernel log messages and
verifies that they are properly received on the bonded RX interfaces
with both IPv4 and IPv6, and using basic and extended netconsole
formats.

This patchset aims to test a long-standing netpoll subsystem where
netpoll has multiple users. (in this case netconsole and bonding). A
similar selftest has been discussed in [1] and [2].

This test also tries to enable bonding and netpoll in different order,
just to guarantee that all the possibilities are exercised.

Link: https://lore.kernel.org/all/20250905-netconsole_torture-v3-0-875c7febd316@debian.org/ [1]
Link: https://lore.kernel.org/lkml/96b940137a50e5c387687bb4f57de8b0435a653f.1404857349.git.decot@googlers.com/ [2]
Signed-off-by: Breno Leitao &lt;leitao@debian.org&gt;
Reviewed-by: Simon Horman &lt;horms@kernel.org&gt;
Link: https://patch.msgid.link/20251107-netconsole_torture-v10-4-749227b55f63@debian.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests: net: unify the Makefile formats</title>
<updated>2025-10-06T20:14:06Z</updated>
<author>
<name>Jakub Kicinski</name>
<email>kuba@kernel.org</email>
</author>
<published>2025-10-03T21:01:27Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f07f91a36090b54076e89b46f159ea3a4b77fb2b'/>
<id>urn:sha1:f07f91a36090b54076e89b46f159ea3a4b77fb2b</id>
<content type='text'>
We get a significant number of conflicts between net and net-next
because of selftests Makefile changes. People tend to append new
test cases at the end of the Makefile when there's no clear sort
order. Sort all networking selftests Makefiles, use the following
format:

 VAR_NAME := \
	 entry1 \
	 entry2 \
	 entry3 \
 # end of VAR_NAME

Some Makefiles are already pretty close to this.

Acked-by: Antonio Quartulli &lt;antonio@openvpn.net&gt;
Acked-by: Matthieu Baerts (NGI0) &lt;matttbe@kernel.org&gt;
Acked-by: Allison Henderson &lt;allison.henderson@oracle.com&gt;
Reviewed-by: Petr Machata &lt;petrm@nvidia.com&gt;
Link: https://patch.msgid.link/20251003210127.1021918-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net</title>
<updated>2025-10-01T08:14:49Z</updated>
<author>
<name>Paolo Abeni</name>
<email>pabeni@redhat.com</email>
</author>
<published>2025-10-01T08:10:50Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=f1455695d2d99894b65db233877acac9a0e120b9'/>
<id>urn:sha1:f1455695d2d99894b65db233877acac9a0e120b9</id>
<content type='text'>
Cross-merge networking fixes after downstream PR (net-6.17-rc8).

Conflicts:

tools/testing/selftests/drivers/net/bonding/Makefile
  87951b566446 selftests: bonding: add test for passive LACP mode
  c2377f1763e9 selftests: bonding: add test for LACP actor port priority

Adjacent changes:

drivers/net/ethernet/cadence/macb.h
  fca3dc859b20 net: macb: remove illusion about TBQPH/RBQPH being per-queue
  89934dbf169e net: macb: Add TAPRIO traffic scheduling support

drivers/net/ethernet/cadence/macb_main.c
  fca3dc859b20 net: macb: remove illusion about TBQPH/RBQPH being per-queue
  89934dbf169e net: macb: Add TAPRIO traffic scheduling support

Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
</content>
</entry>
<entry>
<title>selftests: bonding: add ipsec offload test</title>
<updated>2025-09-30T07:55:12Z</updated>
<author>
<name>Hangbin Liu</name>
<email>liuhangbin@gmail.com</email>
</author>
<published>2025-09-25T02:33:04Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=99e4c35eada98d5959e61e7d3e049f64b2f0e4e1'/>
<id>urn:sha1:99e4c35eada98d5959e61e7d3e049f64b2f0e4e1</id>
<content type='text'>
This introduces a test for IPSec offload over bonding, utilizing netdevsim
for the testing process, as veth interfaces do not support IPSec offload.
The test will ensure that the IPSec offload functionality remains operational
even after a failover event occurs in the bonding configuration.

Here is the test result:

TEST: bond_ipsec_offload (active_slave eth0)                        [ OK ]
TEST: bond_ipsec_offload (active_slave eth1)                        [ OK ]

Reviewed-by: Petr Machata &lt;petrm@nvidia.com&gt;
Signed-off-by: Hangbin Liu &lt;liuhangbin@gmail.com&gt;
Link: https://patch.msgid.link/20250925023304.472186-2-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;

</content>
</entry>
<entry>
<title>selftests: bonding: add test for LACP actor port priority</title>
<updated>2025-09-09T08:56:02Z</updated>
<author>
<name>Hangbin Liu</name>
<email>liuhangbin@gmail.com</email>
</author>
<published>2025-09-02T06:45:01Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=c2377f1763e9ee52a2e7c996a748c7cbca255397'/>
<id>urn:sha1:c2377f1763e9ee52a2e7c996a748c7cbca255397</id>
<content type='text'>
Add comprehensive selftest to verify:
- Per-port actor priority setting via ad_actor_port_prio
- Aggregator selection behavior with port_priority ad_select policy

Also move cmd_jq helper from forwarding/lib.sh to net/lib.sh for
broader reusability across network selftests.

Here is the result output
  # ./bond_lacp_prio.sh
  TEST: bond 802.3ad (ad_actor_port_prio setting)                     [ OK ]
  TEST: bond 802.3ad (ad_actor_port_prio select)                      [ OK ]
  TEST: bond 802.3ad (ad_actor_port_prio switch)                      [ OK ]

Signed-off-by: Hangbin Liu &lt;liuhangbin@gmail.com&gt;
Link: https://patch.msgid.link/20250902064501.360822-4-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;

</content>
</entry>
<entry>
<title>selftests: bonding: add test for passive LACP mode</title>
<updated>2025-08-21T07:35:21Z</updated>
<author>
<name>Hangbin Liu</name>
<email>liuhangbin@gmail.com</email>
</author>
<published>2025-08-15T06:20:00Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=87951b566446da04eed1fe8100f99a512ef02756'/>
<id>urn:sha1:87951b566446da04eed1fe8100f99a512ef02756</id>
<content type='text'>
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.

Signed-off-by: Hangbin Liu &lt;liuhangbin@gmail.com&gt;
Link: https://patch.msgid.link/20250815062000.22220-4-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;

</content>
</entry>
<entry>
<title>selftests: bonding: add ipvlan over bond testing</title>
<updated>2025-01-11T02:10:24Z</updated>
<author>
<name>Etienne Champetier</name>
<email>champetier.etienne@gmail.com</email>
</author>
<published>2025-01-09T03:28:19Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=08ac69b24507ab06871c18adc421c9d4f1008c61'/>
<id>urn:sha1:08ac69b24507ab06871c18adc421c9d4f1008c61</id>
<content type='text'>
This rework bond_macvlan.sh into bond_macvlan_ipvlan.sh
We only test bridge mode for macvlan and l2 mode

]# ./bond_macvlan_ipvlan.sh
TEST: active-backup/macvlan_bridge: IPv4: client-&gt;server            [ OK ]
...
TEST: active-backup/ipvlan_l2: IPv4: client-&gt;server                 [ OK ]
...
TEST: balance-tlb/macvlan_bridge: IPv4: client-&gt;server              [ OK ]
...
TEST: balance-tlb/ipvlan_l2: IPv4: client-&gt;server                   [ OK ]
...
TEST: balance-alb/macvlan_bridge: IPv4: client-&gt;server              [ OK ]
...
TEST: balance-alb/ipvlan_l2: IPv4: client-&gt;server                   [ OK ]
...

Signed-off-by: Etienne Champetier &lt;champetier.etienne@gmail.com&gt;
Link: https://patch.msgid.link/20250109032819.326528-3-champetier.etienne@gmail.com
Signed-off-by: Jakub Kicinski &lt;kuba@kernel.org&gt;
</content>
</entry>
<entry>
<title>selftests: forwarding: Remove duplicated lib.sh content</title>
<updated>2024-01-31T10:55:11Z</updated>
<author>
<name>Petr Machata</name>
<email>petrm@nvidia.com</email>
</author>
<published>2024-01-26T23:21:23Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=521ed1ce94bb35842357fb71918d8ebed552f941'/>
<id>urn:sha1:521ed1ce94bb35842357fb71918d8ebed552f941</id>
<content type='text'>
commit 25ae948b4478 ("selftests/net: add lib.sh") added net/lib.sh to
contain code shared by tests under net/ and net/forwarding/. However, this
caused issues with selftests from directories other than net/forwarding/,
in particular those under drivers/net/. Those issues were avoided in a
simple way by duplicating some content in commit 2114e83381d3 ("selftests:
forwarding: Avoid failures to source net/lib.sh").

In order to remove the duplicated content, restore the inclusion of
net/lib.sh from net/forwarding/lib.sh but with the following changes:

* net/lib.sh is imported through the net_forwarding_dir path
The original expression "source ../lib.sh" would look for lib.sh in the
directory above the script file's one, which did not work for tests under
drivers/net/.

* net/lib.sh is added to TEST_INCLUDES
Since net/forwarding/lib.sh now sources net/lib.sh, both of those files
must be exported along with tests which source net/forwarding/lib.sh.

Suggested-by: Hangbin Liu &lt;liuhangbin@gmail.com&gt;
Reviewed-by: Hangbin Liu &lt;liuhangbin@gmail.com&gt;
Signed-off-by: Petr Machata &lt;petrm@nvidia.com&gt;
Signed-off-by: Benjamin Poirier &lt;bpoirier@nvidia.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: bonding: Add net/forwarding/lib.sh to TEST_INCLUDES</title>
<updated>2024-01-31T10:55:11Z</updated>
<author>
<name>Benjamin Poirier</name>
<email>bpoirier@nvidia.com</email>
</author>
<published>2024-01-26T23:21:19Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=6500780cffa7f221431fa4a2ec1c2f6bc51dcb6b'/>
<id>urn:sha1:6500780cffa7f221431fa4a2ec1c2f6bc51dcb6b</id>
<content type='text'>
In order to avoid duplicated files when both the bonding and forwarding
tests are exported together, add net/forwarding/lib.sh to TEST_INCLUDES and
include it via its relative path.

Reviewed-by: Petr Machata &lt;petrm@nvidia.com&gt;
Tested-by: Petr Machata &lt;petrm@nvidia.com&gt;
Reviewed-by: Hangbin Liu &lt;liuhangbin@gmail.com&gt;
Signed-off-by: Benjamin Poirier &lt;bpoirier@nvidia.com&gt;
Reviewed-by: Jay Vosburgh &lt;jay.vosburgh@canonical.com&gt;
Signed-off-by: David S. Miller &lt;davem@davemloft.net&gt;
</content>
</entry>
<entry>
<title>selftests: bonding: add macvlan over bond testing</title>
<updated>2023-08-24T08:07:13Z</updated>
<author>
<name>Hangbin Liu</name>
<email>liuhangbin@gmail.com</email>
</author>
<published>2023-08-23T07:19:06Z</published>
<link rel='alternate' type='text/html' href='https://universe.0xinfinity.dev/distro/kernel/commit/?id=246af950b9404da3cb1fed0dc85c7a637be0aff6'/>
<id>urn:sha1:246af950b9404da3cb1fed0dc85c7a637be0aff6</id>
<content type='text'>
Add a macvlan over bonding test with mode active-backup, balance-tlb
and balance-alb.

]# ./bond_macvlan.sh
TEST: active-backup: IPv4: client-&gt;server                           [ OK ]
TEST: active-backup: IPv6: client-&gt;server                           [ OK ]
TEST: active-backup: IPv4: client-&gt;macvlan_1                        [ OK ]
TEST: active-backup: IPv6: client-&gt;macvlan_1                        [ OK ]
TEST: active-backup: IPv4: client-&gt;macvlan_2                        [ OK ]
TEST: active-backup: IPv6: client-&gt;macvlan_2                        [ OK ]
TEST: active-backup: IPv4: macvlan_1-&gt;macvlan_2                     [ OK ]
TEST: active-backup: IPv6: macvlan_1-&gt;macvlan_2                     [ OK ]
TEST: active-backup: IPv4: server-&gt;client                           [ OK ]
TEST: active-backup: IPv6: server-&gt;client                           [ OK ]
TEST: active-backup: IPv4: macvlan_1-&gt;client                        [ OK ]
TEST: active-backup: IPv6: macvlan_1-&gt;client                        [ OK ]
TEST: active-backup: IPv4: macvlan_2-&gt;client                        [ OK ]
TEST: active-backup: IPv6: macvlan_2-&gt;client                        [ OK ]
TEST: active-backup: IPv4: macvlan_2-&gt;macvlan_2                     [ OK ]
TEST: active-backup: IPv6: macvlan_2-&gt;macvlan_2                     [ OK ]
[...]
TEST: balance-alb: IPv4: client-&gt;server                             [ OK ]
TEST: balance-alb: IPv6: client-&gt;server                             [ OK ]
TEST: balance-alb: IPv4: client-&gt;macvlan_1                          [ OK ]
TEST: balance-alb: IPv6: client-&gt;macvlan_1                          [ OK ]
TEST: balance-alb: IPv4: client-&gt;macvlan_2                          [ OK ]
TEST: balance-alb: IPv6: client-&gt;macvlan_2                          [ OK ]
TEST: balance-alb: IPv4: macvlan_1-&gt;macvlan_2                       [ OK ]
TEST: balance-alb: IPv6: macvlan_1-&gt;macvlan_2                       [ OK ]
TEST: balance-alb: IPv4: server-&gt;client                             [ OK ]
TEST: balance-alb: IPv6: server-&gt;client                             [ OK ]
TEST: balance-alb: IPv4: macvlan_1-&gt;client                          [ OK ]
TEST: balance-alb: IPv6: macvlan_1-&gt;client                          [ OK ]
TEST: balance-alb: IPv4: macvlan_2-&gt;client                          [ OK ]
TEST: balance-alb: IPv6: macvlan_2-&gt;client                          [ OK ]
TEST: balance-alb: IPv4: macvlan_2-&gt;macvlan_2                       [ OK ]
TEST: balance-alb: IPv6: macvlan_2-&gt;macvlan_2                       [ OK ]

Signed-off-by: Hangbin Liu &lt;liuhangbin@gmail.com&gt;
Acked-by: Jay Vosburgh &lt;jay.vosburgh@canonical.com&gt;
Signed-off-by: Paolo Abeni &lt;pabeni@redhat.com&gt;
</content>
</entry>
</feed>
