]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
selftests: bonding: add ipsec offload test
authorHangbin Liu <liuhangbin@gmail.com>
Thu, 25 Sep 2025 02:33:04 +0000 (02:33 +0000)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 30 Sep 2025 07:55:12 +0000 (09:55 +0200)
commit99e4c35eada98d5959e61e7d3e049f64b2f0e4e1
treec00236de8fa88cc99ee7e05a0a3660dc4171bb9f
parent5b66169f6be4847008c0aea50885ff0632151479
selftests: bonding: add ipsec offload test

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 <petrm@nvidia.com>
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Link: https://patch.msgid.link/20250925023304.472186-2-liuhangbin@gmail.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/drivers/net/bonding/Makefile
tools/testing/selftests/drivers/net/bonding/bond_ipsec_offload.sh [new file with mode: 0755]
tools/testing/selftests/drivers/net/bonding/config