Re: [PATCH net-next] xfrm: Add support for network devices capable of removing the ESP trailer
From: Steffen Klassert <steffen.klassert@secunet.com>
Date: 2017-08-31 11:56:36
Also in:
lkml
From: Steffen Klassert <steffen.klassert@secunet.com>
Date: 2017-08-31 11:56:36
Also in:
lkml
On Wed, Aug 30, 2017 at 11:30:39AM +0300, yossiku@mellanox.com wrote:
From: Yossi Kuperman <redacted> In conjunction with crypto offload [1], removing the ESP trailer by hardware can potentially improve the performance by avoiding (1) a cache miss incurred by reading the nexthdr field and (2) the necessity to calculate the csum value of the trailer in order to keep skb->csum valid. This patch introduces the changes to the xfrm stack and merely serves as an infrastructure. Subsequent patch to mlx5 driver will put this to a good use. [1] https://www.mail-archive.com/netdev@vger.kernel.org/msg175733.html Signed-off-by: Yossi Kuperman <redacted>
Applied to ipsec-next, thanks Yossi!