ethdev: introduce device removal event
authorGaetan Rivet <gaetan.rivet@6wind.com>
Tue, 18 Apr 2017 12:17:38 +0000 (14:17 +0200)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 20 Apr 2017 23:01:35 +0000 (01:01 +0200)
This new API allows reacting to a device removal.
A device removal is the sudden disappearance of a device from its
bus.

PMDs implementing support for this notification guarantee that the removal
of the underlying device does not incur a risk to the application.

In particular, Rx/Tx bursts and all other functions can still be called
(albeit likely returning errors) without triggering a crash, irrespective
of an application handling this event.

Signed-off-by: Gaetan Rivet <gaetan.rivet@6wind.com>
Signed-off-by: Elad Persiko <eladpe@mellanox.com>

No differences found