net/mlx5: add RSS hash result with mark id
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Wed, 1 Mar 2017 12:49:43 +0000 (13:49 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 4 Apr 2017 13:52:51 +0000 (15:52 +0200)
RSS hash and mark ID can now coexists.

Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c

index b0551cc..fc75e6f 100644 (file)
@@ -1512,7 +1512,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 |