[dpdk-dev] [PATCH v4 1/3] librte_ethdev: add RSS offload types for ESP and AH

Xing, Beilei beilei.xing at intel.com
Thu Apr 16 03:14:43 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 1/3] librte_ethdev: add RSS offload types for ESP and AH
> 
> add ETH_RSS_ESP and ETH_RSS_AH macros
> 
> Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com>
> ---
>  lib/librte_ethdev/rte_ethdev.h | 3 +++
>  1 file changed, 3 insertions(+)
> 
> diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
> index d1a593a..26381a1 100644
> --- a/lib/librte_ethdev/rte_ethdev.h
> +++ b/lib/librte_ethdev/rte_ethdev.h
> @@ -511,6 +511,9 @@ struct rte_eth_rss_conf {
>  #define ETH_RSS_GENEVE             (1ULL << 20)
>  #define ETH_RSS_NVGRE              (1ULL << 21)
>  #define ETH_RSS_GTPU               (1ULL << 23)
> +#define ETH_RSS_ESP                (1ULL << 27)
> +#define ETH_RSS_AH                 (1ULL << 28)
> +
> 
>  /*
>   * We use the following macros to combine with above ETH_RSS_* for
> --
> 2.7.4

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


More information about the dev mailing list