net/iavf: support NAT-T / UDP encapsulation
authorRadu Nicolau <radu.nicolau@intel.com>
Mon, 28 Feb 2022 15:00:22 +0000 (15:00 +0000)
committerQi Zhang <qi.z.zhang@intel.com>
Tue, 1 Mar 2022 19:27:31 +0000 (20:27 +0100)
commit578da1bd2025419f8d0fef420770cbdf419b4c29
tree4f15fd74ae6bc0b0ad309672f275a218056ee914
parent05271b99a93ae306fe4abe09fa561f0220469724
net/iavf: support NAT-T / UDP encapsulation

Add support for NAT-T / UDP encapsulated ESP.
This fixes the inline crypto feature for iAVF which will not
function properly without setting the UDP encapsulation options.

Fixes: 6bc987ecb860 ("net/iavf: support IPsec inline crypto")
Cc: stable@dpdk.org
Signed-off-by: Radu Nicolau <radu.nicolau@intel.com>
Reviewed-by: Qi Zhang <qi.z.zhang@intel.com>
drivers/common/iavf/virtchnl_inline_ipsec.h
drivers/net/iavf/iavf_ipsec_crypto.c
drivers/net/iavf/iavf_ipsec_crypto.h