[dpdk-dev] [PATCH v2 23/27] examples/multi_process: use ETH_RSS_IP to replace IP hash flags of RSS
Helin Zhang
helin.zhang at intel.com
Thu Jun 5 07:09:07 CEST 2014
As hash flags of RSS have been enlarged from 16 bits to 64 bits to
support more possible types in all PMDs, and new macro of
ETH_RSS_IP has been defined to cover all IP hash flags of RSS.
That macro should be used in multi_process example application to
support all PMDs.
Signed-off-by: Helin Zhang <helin.zhang at intel.com>
Signed-off-by: Jing Chen <jing.d.chen at intel.com>
Acked-by: Cunming Liang <cunming.liang at intel.com>
Acked-by: Jijiang Liu <jijiang.liu at intel.com>
Acked-by: Jingjing Wu <jingjing.wu at intel.com>
Tested-by: Waterman Cao <waterman.cao at intel.com>
---
examples/multi_process/symmetric_mp/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/multi_process/symmetric_mp/main.c b/examples/multi_process/symmetric_mp/main.c
index 028f98d..7e0a357 100644
--- a/examples/multi_process/symmetric_mp/main.c
+++ b/examples/multi_process/symmetric_mp/main.c
@@ -251,7 +251,7 @@ smp_port_init(uint8_t port, struct rte_mempool *mbuf_pool, uint16_t num_queues)
.rx_adv_conf = {
.rss_conf = {
.rss_key = NULL,
- .rss_hf = ETH_RSS_IPV4 | ETH_RSS_IPV6,
+ .rss_hf = ETH_RSS_IP,
},
},
.txmode = {
--
1.8.1.4
More information about the dev
mailing list