[dpdk-dev] [PATCH v3 4/6] ethdev: adjust APIs removal error report

Thomas Monjalon thomas at monjalon.net
Sun Jan 7 10:56:56 CET 2018


19/12/2017 18:10, Matan Azrad:
> rte_eth_dev_is_removed API was added to detect a device removal
> synchronously.
> 
> When a device removal occurs during control command execution, many
> different errors can be reported to the user.
> 
> Adjust all ethdev APIs error reports to return -EIO in case of device
> removal using rte_eth_dev_is_removed API.
> 
> Signed-off-by: Matan Azrad <matan at mellanox.com>

Acked-by: Thomas Monjalon <thomas at monjalon.net>

Your git does not display the function name in @@ context.
Please update your environment. Thanks



More information about the dev mailing list