[dpdk-dev] [PATCH v1 3/6] ethdev: add GRE RSS offload type

Wenjun Wu wenjun1.wu at intel.com
Thu May 27 09:48:42 CEST 2021


Define new RSS offload type for GRE.

Signed-off-by: Wenjun Wu <wenjun1.wu at intel.com>
---
 lib/ethdev/rte_ethdev.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lib/ethdev/rte_ethdev.h b/lib/ethdev/rte_ethdev.h
index faf3bd901d..be83456257 100644
--- a/lib/ethdev/rte_ethdev.h
+++ b/lib/ethdev/rte_ethdev.h
@@ -537,6 +537,7 @@ struct rte_eth_rss_conf {
 #define ETH_RSS_PPPOE		   (1ULL << 31)
 #define ETH_RSS_ECPRI		   (1ULL << 32)
 #define ETH_RSS_MPLS		   (1ULL << 33)
+#define ETH_RSS_GRE			   (1ULL << 34)
 
 /*
  * We use the following macros to combine with above ETH_RSS_* for
-- 
2.25.1



More information about the dev mailing list