mbox series

[PATCHv2,net,0/3] bond: fix xfrm offload issues

Message ID 20250225094049.20142-1-liuhangbin@gmail.com (mailing list archive)
Headers show
Series bond: fix xfrm offload issues | expand

Message

Hangbin Liu Feb. 25, 2025, 9:40 a.m. UTC
The first patch fixes the incorrect locks using in bond driver.
The second patch fixes the xfrm offload feature during setup active-backup
mode. The third patch add a ipsec offload testing.

v2: move the mutex lock to a work queue (Cosmin Ratiu)

Hangbin Liu (3):
  bonding: move mutex lock to a work queue for XFRM GC tasks
  bonding: fix xfrm offload feature setup on active-backup mode
  selftests: bonding: add ipsec offload test

 drivers/net/bonding/bond_main.c               |  43 +++--
 drivers/net/bonding/bond_netlink.c            |  16 +-
 include/net/bonding.h                         |   7 +
 .../selftests/drivers/net/bonding/Makefile    |   3 +-
 .../drivers/net/bonding/bond_ipsec_offload.sh | 155 ++++++++++++++++++
 .../selftests/drivers/net/bonding/config      |   4 +
 6 files changed, 209 insertions(+), 19 deletions(-)
 create mode 100755 tools/testing/selftests/drivers/net/bonding/bond_ipsec_offload.sh