Skip to content

RFC ipsec: flow cache removal

Florian Westphal netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3xfrm: state: do not acquire lock in get_mtu helpersnet/xfrm/xfrm_state.c+5 -80 replies
2/3vti: revert flush x-netns xfrm cache when vti interface is removednet/ipv4/ip_vti.c+0 -310 replies
3/3xfrm: remove flow cacheinclude/net/flow.h include/net/netns/xfrm.h include/net/xfrm.h +6 more+36 -8670 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/3] ipsec: flow cache removal

Please do not apply these patches.

These are part of tests I made for the ipsec workshop at upcoming netdev 1.2 and I wanted to post these before the conference.

Short version is that there appear to be no major scalability issues anymore without flow cache. Performance hit can be up to 30% in my tests (with 64 byte packets), however without flow cache we also avoid some undesirable effects when flow cache is constantly overloaded.

Seems most of the extra cost is mainly because of extra xfrm dst init/destruction (and not e.g. due to policy lookup).

Lets discuss more at the workshop.

Thanks,
Florian