netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH ipsec-next v1 0/6] Extend XFRM core to allow full offload configuration
@ 2022-05-18  5:30 Leon Romanovsky
  2022-05-18  5:30 ` [PATCH ipsec-next v1 1/6] xfrm: add new full offload flag Leon Romanovsky
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Leon Romanovsky @ 2022-05-18  5:30 UTC (permalink / raw)
  To: Steffen Klassert
  Cc: Leon Romanovsky, David S . Miller, Herbert Xu, netdev, Raed Salem,
	ipsec-devel

From: Leon Romanovsky <leonro@nvidia.com>

Changelog:
v1: Moved comment to be before if (...) in third patch.
v0: https://lore.kernel.org/all/cover.1652176932.git.leonro@nvidia.com
-----------------------------------------------------------------------

The following series extends XFRM core code to handle new type of IPsec
offload - full offload.

In this mode, the HW is going to be responsible for whole data path, so
both policy and state should be offloaded.

Thanks

Leon Romanovsky (6):
  xfrm: add new full offload flag
  xfrm: allow state full offload mode
  xfrm: add an interface to offload policy
  xfrm: add TX datapath support for IPsec full offload mode
  xfrm: add RX datapath protection for IPsec full offload mode
  xfrm: enforce separation between priorities of HW/SW policies

 .../inline_crypto/ch_ipsec/chcr_ipsec.c       |   4 +
 .../net/ethernet/intel/ixgbe/ixgbe_ipsec.c    |   5 +
 drivers/net/ethernet/intel/ixgbevf/ipsec.c    |   5 +
 .../mellanox/mlx5/core/en_accel/ipsec.c       |   4 +
 drivers/net/netdevsim/ipsec.c                 |   5 +
 include/linux/netdevice.h                     |   3 +
 include/net/netns/xfrm.h                      |   8 +-
 include/net/xfrm.h                            | 102 ++++++++++++----
 include/uapi/linux/xfrm.h                     |   6 +
 net/xfrm/xfrm_device.c                        |  84 ++++++++++++-
 net/xfrm/xfrm_output.c                        |  19 +++
 net/xfrm/xfrm_policy.c                        | 115 ++++++++++++++++++
 net/xfrm/xfrm_user.c                          |  11 ++
 13 files changed, 342 insertions(+), 29 deletions(-)

-- 
2.36.1


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-05-18  5:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-05-18  5:30 [PATCH ipsec-next v1 0/6] Extend XFRM core to allow full offload configuration Leon Romanovsky
2022-05-18  5:30 ` [PATCH ipsec-next v1 1/6] xfrm: add new full offload flag Leon Romanovsky
2022-05-18  5:30 ` [PATCH ipsec-next v1 2/6] xfrm: allow state full offload mode Leon Romanovsky
2022-05-18  5:30 ` [PATCH ipsec-next v1 3/6] xfrm: add an interface to offload policy Leon Romanovsky
2022-05-18  5:30 ` [PATCH ipsec-next v1 4/6] xfrm: add TX datapath support for IPsec full offload mode Leon Romanovsky
2022-05-18  5:30 ` [PATCH ipsec-next v1 5/6] xfrm: add RX datapath protection " Leon Romanovsky
2022-05-18  5:30 ` [PATCH ipsec-next v1 6/6] xfrm: enforce separation between priorities of HW/SW policies Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).