From: Steffen Klassert Subject: pull request (net-next): ipsec-next 2017-12-22 Date: Fri, 22 Dec 2017 12:24:30 +0100 Message-ID: <20171222112439.12476-1-steffen.klassert@secunet.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Herbert Xu , Steffen Klassert , To: David Miller Return-path: Received: from a.mx.secunet.com ([62.96.220.36]:47820 "EHLO a.mx.secunet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755386AbdLVLYp (ORCPT ); Fri, 22 Dec 2017 06:24:45 -0500 Sender: netdev-owner@vger.kernel.org List-ID: 1) Separate ESP handling from segmentation for GRO packets. This unifies the IPsec GSO and non GSO codepath. 2) Add asynchronous callbacks for xfrm on layer 2. This adds the necessary infrastructure to core networking. 3) Allow to use the layer2 IPsec GSO codepath for software crypto, all infrastructure is there now. 4) Also allow IPsec GSO with software crypto for local sockets. 5) Don't require synchronous crypto fallback on IPsec offloading, it is not needed anymore. 6) Check for xdo_dev_state_free and only call it if implemented. From Shannon Nelson. 7) Check for the required add and delete functions when a driver registers xdo_dev_ops. From Shannon Nelson. 8) Define xfrmdev_ops only with offload config. From Shannon Nelson. 9) Update the xfrm stats documentation. From Shannon Nelson. Please pull or let me know if there are problems. Thanks! The following changes since commit f39a5c01c3d24f2f61ec9d8c7d7e81f9aca506ce: Merge branch 'nfp-flower-add-Geneve-tunnel-support' (2017-12-19 14:52:13 -0500) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/klassert/ipsec-next.git master for you to fetch changes up to 1a4bb1d14f7c0c4df418d08eb8e24d1c0e54b06a: xfrm: update the stats documentation (2017-12-22 06:45:48 +0100) ---------------------------------------------------------------- Shannon Nelson (4): xfrm: check for xdo_dev_state_free xfrm: check for xdo_dev_ops add and delete xfrm: wrap xfrmdev_ops with offload config xfrm: update the stats documentation Steffen Klassert (5): xfrm: Separate ESP handling from segmentation for GRO packets. net: Add asynchronous callbacks for xfrm on layer 2. xfrm: Allow to use the layer2 IPsec GSO codepath for software crypto. xfrm: Allow IPsec GSO with software crypto for local sockets. esp: Don't require synchronous crypto fallback on offloading anymore. Documentation/networking/xfrm_proc.txt | 20 ++-- include/linux/netdevice.h | 8 +- include/net/xfrm.h | 29 ++++- net/core/dev.c | 19 ++-- net/ipv4/esp4.c | 36 ++++--- net/ipv4/esp4_offload.c | 73 ++++--------- net/ipv4/xfrm4_mode_tunnel.c | 5 +- net/ipv6/esp6.c | 36 ++++--- net/ipv6/esp6_offload.c | 80 +++++--------- net/ipv6/xfrm6_mode_tunnel.c | 5 +- net/packet/af_packet.c | 3 +- net/sched/sch_generic.c | 16 ++- net/xfrm/xfrm_device.c | 186 ++++++++++++++++++++++++++++----- 13 files changed, 326 insertions(+), 190 deletions(-)