[v1,3/6] ethdev: add GRE RSS offload type

Message ID 20210527074845.1263679-4-wenjun1.wu@intel.com (mailing list archive)
State Superseded, archived
Delegated to: Ferruh Yigit
Headers
Series support AVF RSS and FDIR for GRE tunnel packet |

Checks

Context Check Description
ci/checkpatch success coding style OK

Commit Message

Wenjun Wu May 27, 2021, 7:48 a.m. UTC
  Define new RSS offload type for GRE.

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

Patch

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