net/mlx4: support device removal event
authorGaetan Rivet <gaetan.rivet@6wind.com>
Tue, 18 Apr 2017 12:17:39 +0000 (14:17 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Apr 2017 23:01:47 +0000 (01:01 +0200)
commit6dd7b7056d7ff67b2936a1bde56ec7ff15d5dc62
treee0ceb11173606ff571845b4cb341fa2beb5f172a
parentb5ece772125f5f979f621b35b09e78ad97f45599
net/mlx4: support device removal event

Extend the LSC event handling to support the device removal as well. The
Verbs library will send several related events, that can conflict
with the LSC event itself.

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

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Signed-off-by: Elad Persiko <eladpe@mellanox.com>
doc/guides/nics/features/mlx4.ini
drivers/net/mlx4/mlx4.c
drivers/net/mlx4/mlx4.h