git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ab2c66
)
net/mlx5: add RSS hash result with mark id
author
Nélio Laranjeiro
<nelio.laranjeiro@6wind.com>
Wed, 1 Mar 2017 12:49:43 +0000
(13:49 +0100)
committer
Ferruh 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
patch
|
blob
|
history
diff --git
a/drivers/net/mlx5/mlx5_rxtx.c
b/drivers/net/mlx5/mlx5_rxtx.c
index
b0551cc
..
fc75e6f
100644
(file)
--- a/
drivers/net/mlx5/mlx5_rxtx.c
+++ b/
drivers/net/mlx5/mlx5_rxtx.c
@@
-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 |