[v1,1/2] ethdev: add eCPRI RSS offload types
diff mbox series

Message ID 20201116053238.440870-2-simei.su@intel.com
State Superseded, archived
Delegated to: Ferruh Yigit
Headers show
Series
  • extend RSS offload types
Related show

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Simei Su Nov. 16, 2020, 5:32 a.m. UTC
This patch defines new RSS offload types for eCPRI. For eCPRI with
Message Type 0, the hash field is physical channel ID.

Signed-off-by: Simei Su <simei.su@intel.com>
---
 lib/librte_ethdev/rte_ethdev.h | 1 +
 1 file changed, 1 insertion(+)

Comments

Ferruh Yigit Nov. 17, 2020, 1:06 p.m. UTC | #1
On 11/16/2020 5:32 AM, Simei Su wrote:
> This patch defines new RSS offload types for eCPRI. For eCPRI with
> Message Type 0, the hash field is physical channel ID.
> 
> Signed-off-by: Simei Su <simei.su@intel.com>
> ---
>   lib/librte_ethdev/rte_ethdev.h | 1 +
>   1 file changed, 1 insertion(+)
> 
> diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
> index 69fc973..f5f8919 100644
> --- a/lib/librte_ethdev/rte_ethdev.h
> +++ b/lib/librte_ethdev/rte_ethdev.h
> @@ -525,6 +525,7 @@ struct rte_eth_rss_conf {
>   #define ETH_RSS_L2TPV3             (1ULL << 29)
>   #define ETH_RSS_PFCP               (1ULL << 30)
>   #define ETH_RSS_PPPOE		   (1ULL << 31)
> +#define ETH_RSS_ECPRI		   (1ULL << 32)
>   

Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>

Patch
diff mbox series

diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h
index 69fc973..f5f8919 100644
--- a/lib/librte_ethdev/rte_ethdev.h
+++ b/lib/librte_ethdev/rte_ethdev.h
@@ -525,6 +525,7 @@  struct rte_eth_rss_conf {
 #define ETH_RSS_L2TPV3             (1ULL << 29)
 #define ETH_RSS_PFCP               (1ULL << 30)
 #define ETH_RSS_PPPOE		   (1ULL << 31)
+#define ETH_RSS_ECPRI		   (1ULL << 32)
 
 /*
  * We use the following macros to combine with above ETH_RSS_* for