[dpdk-dev] [PATCH v4 1/3] librte_ethdev: add RSS offload types for ESP and AH
Bernard Iremonger
bernard.iremonger at intel.com
Wed Apr 15 13:14:13 CEST 2020
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
More information about the dev
mailing list