From: David S. Miller Date: Mon, 21 Nov 2022 08:51:36 +0000 (+0000) Subject: Merge branch 'nfp-ipsec-offload' X-Git-Tag: v6.2-rc1~99^2~163 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=dca508cd88397cc578cce063405e082c3ff5be97;p=tomoyo%2Ftomoyo-test1.git Merge branch 'nfp-ipsec-offload' Simon Horman says: ==================== nfp: IPsec offload support Huanhuan Wang says: this series adds support for IPsec offload to the NFP driver. It covers three enhancements: 1. Patches 1/3: - Extend the capability word and control word to to support new features. 2. Patch 2/3: - Add framework to support IPsec offloading for NFP driver, but IPsec offload control plane interface xfrm callbacks which interact with upper layer are not implemented in this patch. 3. Patch 3/3: - IPsec control plane interface xfrm callbacks are implemented in this patch. Changes since v3 * Remove structure fields that describe firmware but are not used for Kernel offload * Add WARN_ON(!xa_empty()) before call to xa_destroy() * Added helpers for hash methods Changes since v2 * OFFLOAD_HANDLE_ERROR macro and the associated code removed * Unnecessary logging removed * Hook function xdo_dev_state_free in struct xfrmdev_ops removed * Use Xarray to maintain SA entries Changes since v1 * Explicitly return failure when XFRM_STATE_ESN is set * Fix the issue that AEAD algorithm is not correctly offloaded ==================== Signed-off-by: David S. Miller --- dca508cd88397cc578cce063405e082c3ff5be97