mbox series

[0/4] xfrm: Add support for RFC 9611 per cpu xfrm states

Message ID 20241007064453.2171933-1-steffen.klassert@secunet.com (mailing list archive)
Headers show
Series xfrm: Add support for RFC 9611 per cpu xfrm states | expand

Message

Steffen Klassert Oct. 7, 2024, 6:44 a.m. UTC
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 v1:

- Add compat layer attributes

- Fix a 'use always slowpath' condition

- Document get_cpu() usage

- Fix forgotten update of xfrm_expire_msgsize()