net/mlx5: fix UAR remap initialization for 32-bit systems
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Wed, 18 Sep 2019 06:54:11 +0000 (06:54 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:57 +0000 (15:00 +0200)
commit06def9bc4e6cf3836192f8e5a0e939f8e56a5f84
tree27b403b2dd017c954e4392a9c4069ad12fdd57e0
parente289400669d552600c64d3fff1c0798fcf7ae5d0
net/mlx5: fix UAR remap initialization for 32-bit systems

The txq_uar_init() routine uses the uninitialized uar_mmap_offset
field in 32-bit configurations due to this field is initialized
after txq_uar_init() call.

Fixes: 120dc4a7dcd3 ("net/mlx5: remove device register remap")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/mlx5_txq.c