mbox series

[net,0/3] nfp: fix incorrect IPsec checksum handling

Message ID 20230302095830.2512535-1-simon.horman@corigine.com (mailing list archive)
Headers show
Series nfp: fix incorrect IPsec checksum handling | expand

Message

Simon Horman March 2, 2023, 9:58 a.m. UTC
Hi,

this short series resolves two problems with IPsec checksum handling
in the nfp driver.

* PATCH 1/3, 2/3: Correct setting of checksum flags.
  One patch for each of the nfd3 and nfdk datapaths.

* Patch 3/3: Correct configuration of NETIF_F_CSUM_MASK
  so that the stack does not unecessarily calculate csums for
  IPsec offload packets.

Huanhuan Wang (3):
  nfp: fix incorrectly set csum flag for nfd3 path
  nfp: fix incorrectly set csum flag for nfdk path
  nfp: fix esp-tx-csum-offload doesn't take effect

 drivers/net/ethernet/netronome/nfp/nfd3/dp.c  |  7 +++---
 .../net/ethernet/netronome/nfp/nfd3/ipsec.c   | 25 +++++++++++++++++--
 drivers/net/ethernet/netronome/nfp/nfdk/dp.c  |  6 +++--
 .../net/ethernet/netronome/nfp/nfdk/ipsec.c   |  8 ++++--
 .../ethernet/netronome/nfp/nfp_net_common.c   |  4 +++
 5 files changed, 41 insertions(+), 9 deletions(-)