Add more annotations about packet classification type. v3 changes: * Remove renamings of RSS 'SHIFT's. * Add more annotations for RSS 'SHIFT's.
Signed-off-by: Helin Zhang <helin.zhang at intel.com> Acked-by: Jingjing Wu <jingjing.wu at intel.com> --- lib/librte_ether/rte_ethdev.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/librte_ether/rte_ethdev.h b/lib/librte_ether/rte_ethdev.h index bbc6022..ad7b9d4 100644 --- a/lib/librte_ether/rte_ethdev.h +++ b/lib/librte_ether/rte_ethdev.h @@ -334,7 +334,10 @@ struct rte_eth_rss_conf { uint64_t rss_hf; /**< Hash functions to apply - see below. */ }; -/* Supported RSS offloads */ +/* + * Supported RSS offloads, below '_SHIFT' can also be used to represent + * the 'Packet Classification type (pctype)'. + */ /* for 1G & 10G */ #define ETH_RSS_IPV4_SHIFT 0 #define ETH_RSS_IPV4_TCP_SHIFT 1 -- 1.8.1.4