[dpdk-dev] [PATCH v2 19/27] examples/l3fwd-power: use ETH_RSS_IP to replace IP hash flags of RSS
Helin Zhang
helin.zhang at intel.com
Thu Jun 5 07:09:03 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 l3fwd-power 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/l3fwd-power/main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/l3fwd-power/main.c b/examples/l3fwd-power/main.c
index 598b7a2..ab5d2a1 100644
--- a/examples/l3fwd-power/main.c
+++ b/examples/l3fwd-power/main.c
@@ -247,7 +247,7 @@ static struct rte_eth_conf port_conf = {
.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