diff options
author | Huy Nguyen <huyn@nvidia.com> | 2021-06-14 17:33:48 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@nvidia.com> | 2021-06-22 15:24:32 -0700 |
commit | fa4535238fb5f306f95de89371a993057b32b2a4 (patch) | |
tree | 0f73787c8b0b8519900cbe39684fd14d054fcf61 /net/dsa/tag_hellcreek.c | |
parent | dd7cf00f87dc6cba8dd87dd6c9a5f18f187976ff (diff) | |
download | linux-fa4535238fb5f306f95de89371a993057b32b2a4.tar.gz linux-fa4535238fb5f306f95de89371a993057b32b2a4.tar.bz2 linux-fa4535238fb5f306f95de89371a993057b32b2a4.zip |
net/xfrm: Add inner_ipproto into sec_path
The inner_ipproto saves the inner IP protocol of the plain
text packet. This allows vendor's IPsec feature making offload
decision at skb's features_check and configuring hardware at
ndo_start_xmit.
For example, ConnectX6-DX IPsec device needs the plaintext's
IP protocol to support partial checksum offload on
VXLAN/GENEVE packet over IPsec transport mode tunnel.
Signed-off-by: Raed Salem <raeds@nvidia.com>
Signed-off-by: Huy Nguyen <huyn@nvidia.com>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Steffen Klassert <steffen.klassert@secunet.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
Diffstat (limited to 'net/dsa/tag_hellcreek.c')
0 files changed, 0 insertions, 0 deletions