Skip to content

Support PTMU in tunnel mode for packet offload

Leon Romanovsky intel-wired-lan linux-doc linux-rdma netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5xfrm: delay initialization of offload path till its actually requestedinclude/net/xfrm.h net/xfrm/xfrm_device.c net/xfrm/xfrm_state.c +1 more+30 -204 replies
2/5xfrm: simplify SA initialization routineinclude/net/xfrm.h net/xfrm/xfrm_state.c net/xfrm/xfrm_user.c+12 -154 replies
3/5xfrm: rely on XFRM offloadnet/xfrm/xfrm_device.c+4 -61 reply
4/5xfrm: provide common xdo_dev_offload_ok callback implementationDocumentation/networking/xfrm_device.rst drivers/net/bonding/bond_main.c drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c +9 more+22 -1453 replies
5/5xfrm: check for PMTU in tunnel mode for packet offloadinclude/net/xfrm.h net/xfrm/xfrm_device.c net/xfrm/xfrm_output.c+21 -40 replies

Reviews trailers per patch

2 of 5 patches have a Reviewed-by or Acked-by.

PatchZhu Yanjun
1/5
2/5
3/5R-b
4/5R-b
5/5

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH ipsec-next 0/5] Support PTMU in tunnel mode for packet offload

Hi,

This series refactors the xdo_dev_offload_ok() to be global place for drivers to check if their offload can perform encryption for xmit packets.

Such common place gives us an option to check MTU and PMTU at one place.

Thanks

Leon Romanovsky (5):
xfrm: delay initialization of offload path till its actually requested
xfrm: simplify SA initialization routine
xfrm: rely on XFRM offload
xfrm: provide common xdo_dev_offload_ok callback implementation
xfrm: check for PMTU in tunnel mode for packet offload

 Documentation/networking/xfrm_device.rst      |  3 +-
 drivers/net/bonding/bond_main.c               | 16 ++-----
 .../net/ethernet/chelsio/cxgb4/cxgb4_main.c   | 21 ---------
 .../inline_crypto/ch_ipsec/chcr_ipsec.c       | 16 -------
 .../net/ethernet/intel/ixgbe/ixgbe_ipsec.c    | 21 ---------
 drivers/net/ethernet/intel/ixgbevf/ipsec.c    | 21 ---------
 .../marvell/octeontx2/nic/cn10k_ipsec.c       | 15 ------
 .../mellanox/mlx5/core/en_accel/ipsec.c       | 16 -------
 .../net/ethernet/netronome/nfp/crypto/ipsec.c | 11 -----
 drivers/net/netdevsim/ipsec.c                 | 11 -----
 drivers/net/netdevsim/netdevsim.h             |  1 -
 include/net/xfrm.h                            | 22 ++++++++-
 net/xfrm/xfrm_device.c                        | 47 ++++++++++++++-----
 net/xfrm/xfrm_output.c                        |  6 ++-
 net/xfrm/xfrm_state.c                         | 40 +++++++---------
 net/xfrm/xfrm_user.c                          |  2 +-
 16 files changed, 84 insertions(+), 185 deletions(-)
Signature · 1 line
2.48.1