[dpdk-dev] [PATCH v2 4/9] net/mlx5: add RSS hash result with mark id

Nelio Laranjeiro nelio.laranjeiro at 6wind.com
Wed Mar 1 13:49:43 CET 2017


RSS hash and mark ID can now coexists.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro at 6wind.com>
---
 drivers/net/mlx5/mlx5_rxtx.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/net/mlx5/mlx5_rxtx.c b/drivers/net/mlx5/mlx5_rxtx.c
index 8f16f2f..122847d 100644
--- a/drivers/net/mlx5/mlx5_rxtx.c
+++ b/drivers/net/mlx5/mlx5_rxtx.c
@@ -1545,7 +1545,6 @@ mlx5_rx_burst(void *dpdk_rxq, struct rte_mbuf **pkts, uint16_t pkts_n)
 			      htonl(MLX5_FLOW_MARK_DEFAULT)))) {
 				pkt->hash.fdir.hi =
 					mlx5_flow_mark_get(cqe->sop_drop_qpn);
-				pkt->ol_flags &= ~PKT_RX_RSS_HASH;
 				pkt->ol_flags |= PKT_RX_FDIR | PKT_RX_FDIR_ID;
 			}
 			if (rxq->csum | rxq->csum_l2tun | rxq->vlan_strip |
-- 
2.1.4



More information about the dev mailing list