[dpdk-dev] [PATCH v3 1/6] ethdev: add devop to check removal status
Thomas Monjalon
thomas at monjalon.net
Sun Jan 7 10:53:40 CET 2018
19/12/2017 18:10, Matan Azrad:
> There is time between the physical removal of the device until PMDs get
> a RMV interrupt. At this time DPDK PMDs and applications still don't
> know about the removal.
>
> Current removal detection is achieved only by registration to device RMV
> event and the notification comes asynchronously. So, there is no option
> to detect a device removal synchronously.
> Applications and other DPDK entities may want to check a device removal
> synchronously and to take an immediate decision accordingly.
>
> Add new dev op called is_removed to allow DPDK entities to check an
> Ethernet device removal status immediately.
>
> Signed-off-by: Matan Azrad <matan at mellanox.com>
Acked-by: Thomas Monjalon <thomas at monjalon.net>
More information about the dev
mailing list