Skip to content

Add support for RFC 9611 per cpu xfrm states.

Steffen Klassert netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest4 patches 3 repliesIn review
  2. v14 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- Rebase to ipsec-next

- Describe new xfrm_policy struct member state_cache_list

- Drop a missplaced semicolon

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4xfrm: Add support for per cpu xfrm state handling.include/net/xfrm.h include/uapi/linux/xfrm.h net/key/af_key.c +3 more+112 -220 replies
2/4xfrm: Cache used outbound xfrm states at the policy.include/net/xfrm.h net/xfrm/xfrm_policy.c net/xfrm/xfrm_state.c+71 -00 replies
3/4xfrm: Add an inbound percpu state cache.include/net/netns/xfrm.h include/net/xfrm.h net/ipv4/esp4_offload.c +3 more+70 -70 replies
4/4xfrm: Restrict percpu SA attribute to specific netlink message typesnet/xfrm/xfrm_user.c+14 -00 replies

Reviews trailers per patch

None of the 4 patches has a Reviewed-by or Acked-by.

PatchAntony AntonyTobias Brunner
SeriesT-b T-b
1/4
2/4
3/4
4/4

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [PATCH v3 ipsec-next 0/4] Add support for RFC 9611 per cpu xfrm states.

This patchset implements the xfrm part of per cpu SAs as specified in RFC 9611.

Patch 1 adds the cpu as a lookup key and config option to to generate acquire messages for each cpu.

Patch 2 caches outbound states at the policy.

Patch 3 caches inbound states on a new percpu state cache.

Patch 4 restricts percpu SA attributes to specific netlink message types.

Please review and test.

---

Changes from v2:

- Rebase to ipsec-next

- Describe new xfrm_policy struct member state_cache_list

- Drop a missplaced semicolon

Changes from v1:

- Add compat layer attributes

- Fix a 'use always slowpath' condition

- Document get_cpu() usage

- Fix forgotten update of xfrm_expire_msgsize()

Thanks!