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>
}
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 =