net/mlx5: fix flow mark action handling
Mark value is always reported even when not requested or invalid. Fixes: ea3bc3b1df94 ("net/mlx5: support mark flow action") Cc: stable@dpdk.org Reported-by: Mark Bloch <markb@mellanox.com> Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com> Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
This commit is contained in:
parent
66e21de51b
commit
c9c2a965ab
@ -1507,7 +1507,7 @@ mlx5_rx_burst(void *dpdk_rxq, struct rte_mbuf **pkts, uint16_t pkts_n)
|
||||
}
|
||||
if (rxq->mark &&
|
||||
((cqe->sop_drop_qpn !=
|
||||
htonl(MLX5_FLOW_MARK_INVALID)) ||
|
||||
htonl(MLX5_FLOW_MARK_INVALID)) &&
|
||||
(cqe->sop_drop_qpn !=
|
||||
htonl(MLX5_FLOW_MARK_DEFAULT)))) {
|
||||
pkt->hash.fdir.hi =
|
||||
|
Loading…
x
Reference in New Issue
Block a user