[dpdk-dev] [PATCH v4 3/3] net/i40e: add ESP patterns

Xing, Beilei beilei.xing at intel.com
Thu Apr 16 03:13:59 CEST 2020



> -----Original Message-----
> From: Iremonger, Bernard <bernard.iremonger at intel.com>
> Sent: Wednesday, April 15, 2020 7:14 PM
> To: dev at dpdk.org; Xing, Beilei <beilei.xing at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>; Doherty, Declan <declan.doherty at intel.com>
> Cc: Ananyev, Konstantin <konstantin.ananyev at intel.com>; Iremonger,
> Bernard <bernard.iremonger at intel.com>
> Subject: [PATCH v4 3/3] net/i40e: add ESP patterns
> 
> add ESP patterns to i40e_flow_parse_rss_pattern().
> update i40e PMD user guide with download link for esp-ah.pkg file.
> 
> Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com>
> ---
>  doc/guides/nics/i40e.rst     | 3 ++-
>  drivers/net/i40e/i40e_flow.c | 4 ++++
>  2 files changed, 6 insertions(+), 1 deletion(-)
> 
> diff --git a/doc/guides/nics/i40e.rst b/doc/guides/nics/i40e.rst index
> f72a54b..416b390 100644
> --- a/doc/guides/nics/i40e.rst
> +++ b/doc/guides/nics/i40e.rst
> @@ -509,7 +509,8 @@ https://downloadcenter.intel.com/download/27587.
>  PPPoE package is released, and it can be downloaded from
> https://downloadcenter.intel.com/download/28040.
> 
> -ESP-AH package is not released yet.
> +ESP-AH package is released, and it can be downloaded from
> +https://downloadcenter.intel.com/download/29446.
> 
>  Load a profile which supports GTP and store backup profile:
> 
> diff --git a/drivers/net/i40e/i40e_flow.c b/drivers/net/i40e/i40e_flow.c index
> 1d0eaf6..e65a07a 100644
> --- a/drivers/net/i40e/i40e_flow.c
> +++ b/drivers/net/i40e/i40e_flow.c
> @@ -4507,11 +4507,15 @@ i40e_flow_parse_rss_pattern(__rte_unused
> struct rte_eth_dev *dev,
>  		{ pattern_fdir_ipv4_tcp, ETH_RSS_NONFRAG_IPV4_TCP },
>  		{ pattern_fdir_ipv4_udp, ETH_RSS_NONFRAG_IPV4_UDP },
>  		{ pattern_fdir_ipv4_sctp, ETH_RSS_NONFRAG_IPV4_SCTP },
> +		{ pattern_fdir_ipv4_esp, ETH_RSS_ESP },
> +		{ pattern_fdir_ipv4_udp_esp, ETH_RSS_ESP },
>  		{ pattern_fdir_ipv6,
>  			ETH_RSS_FRAG_IPV6 |
> ETH_RSS_NONFRAG_IPV6_OTHER },
>  		{ pattern_fdir_ipv6_tcp, ETH_RSS_NONFRAG_IPV6_TCP },
>  		{ pattern_fdir_ipv6_udp, ETH_RSS_NONFRAG_IPV6_UDP },
>  		{ pattern_fdir_ipv6_sctp, ETH_RSS_NONFRAG_IPV6_SCTP },
> +		{ pattern_fdir_ipv6_esp, ETH_RSS_ESP },
> +		{ pattern_fdir_ipv6_udp_esp, ETH_RSS_ESP },
>  	};
> 
>  	p_info->types = I40E_RSS_TYPE_INVALID;
> --
> 2.7.4

Acked-by: Beilei Xing <beilei.xing at intel.com>


More information about the dev mailing list