net/mlx5: activate Verbs cleanup on removal
authorMatan Azrad <matan@mellanox.com>
Mon, 2 Jul 2018 05:13:18 +0000 (05:13 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 4 Jul 2018 14:48:53 +0000 (16:48 +0200)
commit1ff30d182ca71dad31cd840ef0af8ea755c95767
tree47a6078c3ac30a4dc8328393f0c10460015c760c
parentb14fbabf98dc522186c5f9969571a814c29c8235
net/mlx5: activate Verbs cleanup on removal

Starting from rdma-core v19, Mellanox OFED 4.4, the Verbs resources
cleanup is properly activated in plug-out process when setting the
MLX5_DEVICE_FATAL_CLEANUP environment variable to 1.

Set the aforementioned variable to 1.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
drivers/net/mlx5/mlx5.c