[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z1a3AKjJuARAhHih@gauss3.secunet.de>
Date: Mon, 9 Dec 2024 10:23:12 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Christian Hopps <chopps@...pps.org>
CC: <devel@...ux-ipsec.org>, <netdev@...r.kernel.org>, Florian Westphal
<fw@...len.de>, Sabrina Dubroca <sd@...asysnail.net>, Simon Horman
<horms@...nel.org>, Antony Antony <antony@...nome.org>
Subject: Re: [PATCH ipsec-next v14 00/15] Add IP-TFS mode to xfrm
On Thu, Nov 14, 2024 at 02:06:57AM -0500, Christian Hopps wrote:
> * Summary of Changes:
>
> This patchset adds a new xfrm mode implementing on-demand IP-TFS. IP-TFS
> (AggFrag encapsulation) has been standardized in RFC9347.
>
> Link: https://www.rfc-editor.org/rfc/rfc9347.txt
>
> This feature supports demand driven (i.e., non-constant send rate)
> IP-TFS to take advantage of the AGGFRAG ESP payload encapsulation. This
> payload type supports aggregation and fragmentation of the inner IP
> packet stream which in turn yields higher small-packet bandwidth as well
> as reducing MTU/PMTU issues. Congestion control is unimplementated as
> the send rate is demand driven rather than constant.
>
> In order to allow loading this fucntionality as a module a set of
> callbacks xfrm_mode_cbs has been added to xfrm as well.
>
> Patchset Structure:
> -------------------
>
> The first 5 commits are changes to the net and xfrm infrastructure to
> support the callbacks as well as more generic IP-TFS additions that
> may be used outside the actual IP-TFS implementation.
>
> - xfrm: config: add CONFIG_XFRM_IPTFS
> - include: uapi: protocol number and packet structs for AGGFRAG in ESP
> - xfrm: netlink: add config (netlink) options
> - xfrm: add mode_cbs module functionality
> - xfrm: add generic iptfs defines and functionality
>
> The last 10 commits constitute the IP-TFS implementation constructed in
> layers to make review easier. The first 9 commits all apply to a single
> file `net/xfrm/xfrm_iptfs.c`, the last commit adds a new tracepoint
> header file along with the use of these new tracepoint calls.
>
> - xfrm: iptfs: add new iptfs xfrm mode impl
> - xfrm: iptfs: add user packet (tunnel ingress) handling
> - xfrm: iptfs: share page fragments of inner packets
> - xfrm: iptfs: add fragmenting of larger than MTU user packets
> - xfrm: iptfs: add basic receive packet (tunnel egress) handling
> - xfrm: iptfs: handle received fragmented inner packets
> - xfrm: iptfs: add reusing received skb for the tunnel egress packet
> - xfrm: iptfs: add skb-fragment sharing code
> - xfrm: iptfs: handle reordering of received packets
> - xfrm: iptfs: add tracepoint functionality
This is now applied to ipsec-next, thanks a lot Chris!
Powered by blists - more mailing lists