net/mlx5: support device removal event
authorMatan Azrad <matan@mellanox.com>
Fri, 8 Sep 2017 10:47:45 +0000 (13:47 +0300)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 6 Oct 2017 00:49:48 +0000 (02:49 +0200)
commit7d7d7ad1e67abdfe01fa70d403f6ee14e82a58ff
tree72c083daed630705494d9bfc913dde7d6eae2be7
parentc26ae06937a6eee8c65937d6748f37a0ea2d680a
net/mlx5: support device removal event

Extend the LSC event handling to support the device removal as well.

The mlx5 event handling has been made capable of receiving and
signaling several event types at once.

This support includes next:
1. Removal event detection according to the user configuration.
2. Calling to all registered mlx5 removal callbacks.
3. Capabilities extension to include removal interrupt handling.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Adrien Mazarguil <adrien.mazarguil@6wind.com>
doc/guides/nics/features/mlx5.ini
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5_ethdev.c