David Marchand 44b1d513d5 net/mlx5: register memory callback only when probing
The callback should be invoked only for memory that has been registered
in a device, hence, no need to track cleanup events if no device is
present.

Bugzilla ID: 56
Fixes: 974f1e7ef146 ("net/mlx5: add new memory region support")

Signed-off-by: David Marchand <david.marchand@6wind.com>
Acked-by: Yongseok Koh <yskoh@mellanox.com>
Tested-by: Ferruh Yigit <ferruh.yigit@intel.com>
2018-05-30 21:16:43 +02:00
..
2018-05-17 19:06:29 +02:00
2018-04-11 01:47:47 +02:00
2018-05-23 00:35:01 +02:00
2018-05-25 17:07:40 +02:00
2018-05-23 00:35:01 +02:00
2018-04-11 01:47:47 +02:00