net/mlx5: fix environment variable recovery
authorViacheslav Ovsiienko <viacheslavo@mellanox.com>
Wed, 13 Nov 2019 16:24:50 +0000 (16:24 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 20 Nov 2019 16:36:05 +0000 (17:36 +0100)
commit06f78b5ebcaeb46b523e947d1d3419fe05a6a8ee
treeea43280a44a26f41c156983d479cc0b053c677be
parent1422df290819c9ec3cae5cacd64f581bb908f094
net/mlx5: fix environment variable recovery

The state of environment variable MLX5_BF_SHUT_UP was not
recovered correctly if there was no tx_db_nc devarg specified.

Fixes: 8409a28573d3 ("net/mlx5: control transmit doorbell register mapping")
Cc: stable@dpdk.org
Signed-off-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.c