[dpdk-dev] [PATCH v2 11/11] ethdev: change stop device callback to return int

Xu, Rosen rosen.xu at intel.com
Sun Oct 18 10:55:44 CEST 2020


On 10/15/2020 2:30 PM, Andrew Rybchenko wrote:
> From: Ivan Ilchenko <ivan.ilchenko at oktetlabs.ru>
> 
> Change eth_dev_stop_t return value from void to int.
> Make eth_dev_stop_t implementations across all drivers to return
> negative errno values if case of error conditions.
> 
> Signed-off-by: Ivan Ilchenko <ivan.ilchenko at oktetlabs.ru>
> Signed-off-by: Andrew Rybchenko <arybchenko at solarflare.com>

Reviewed-by: Rosen Xu <rosen.xu at intel.com>


More information about the dev mailing list