From: Simei Su Date: Thu, 2 Jul 2020 05:11:48 +0000 (+0800) Subject: ethdev: add PPPoE RSS offload types X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=9a859b8c4aa4a54abcb5128c244815a1b6a953ba;p=dpdk.git ethdev: add PPPoE RSS offload types This patch defines new RSS offload types for PPPoE. Typically, session id would be the RSS input set for a PPPoE packet, but as a hint, each driver may have different default behaviors. Signed-off-by: Simei Su Reviewed-by: Qi Zhang Reviewed-by: Ferruh Yigit --- diff --git a/lib/librte_ethdev/rte_ethdev.h b/lib/librte_ethdev/rte_ethdev.h index a49242bcd2..631b146bd7 100644 --- a/lib/librte_ethdev/rte_ethdev.h +++ b/lib/librte_ethdev/rte_ethdev.h @@ -521,7 +521,7 @@ struct rte_eth_rss_conf { #define ETH_RSS_AH (1ULL << 28) #define ETH_RSS_L2TPV3 (1ULL << 29) #define ETH_RSS_PFCP (1ULL << 30) - +#define ETH_RSS_PPPOE (1ULL << 31) /* * We use the following macros to combine with above ETH_RSS_* for