net/mlx5: fix UAR remapping on non configured queues
authorNélio Laranjeiro <nelio.laranjeiro@6wind.com>
Tue, 6 Feb 2018 09:26:21 +0000 (10:26 +0100)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 6 Feb 2018 13:35:07 +0000 (14:35 +0100)
commitfbab400f6143b8d41af7369309334cd22ac2751c
tree92cf2cb1f700c55a48d0bf21bfa339ded5ef47bb
parent1f30a22358f1ce5bfb70691faf38fdc9d7467992
net/mlx5: fix UAR remapping on non configured queues

priv_tx_uar_remap() is wrongly considering the queue is already configured
and thus present in the queue array of the device.

Fixes: f8b9a3bad467 ("net/mlx5: install a socket to exchange a file descriptor")
Cc: stable@dpdk.org
Signed-off-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_txq.c