[dpdk-dev] [PATCH 1/1] ethdev: change owner delete function return value to int
Ferruh Yigit
ferruh.yigit at intel.com
Tue Sep 24 15:48:18 CEST 2019
On 9/10/2019 10:02 AM, Andrew Rybchenko wrote:
> From: Igor Romanov <igor.romanov at oktetlabs.ru>
>
> Change rte_eth_dev_owner_delete() return value from void to int
> and return negative errno values in case of error conditions.
>
> Right now there is only one error case for rte_eth_dev_owner_delete() -
> invalid owner, but it still makes sense to return error to catch bugs
> in the code which uses the function.
>
> Also update the usage of the function in drivers/netvsc
> according to the new return type.
>
> Signed-off-by: Igor Romanov <igor.romanov at oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>
Applied to dpdk-next-net/master, thanks.
More information about the dev
mailing list