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

2018-01-07 Thread Thomas Monjalon
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

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

2017-12-19 Thread 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_remov