numam-dpdk/lib/librte_ethdev
Thomas Monjalon 8a5a0aad5d ethdev: allow close function to return an error
The API function rte_eth_dev_close() was returning void.
The return type is changed to int for notifying of errors.

If an error happens during a close operation,
the status of the port is undefined,
a maximum of resources having been freed.

Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
Reviewed-by: Liron Himi <lironh@marvell.com>
Acked-by: Stephen Hemminger <stephen@networkplumber.org>
Acked-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
Reviewed-by: Ferruh Yigit <ferruh.yigit@intel.com>
2020-10-16 22:26:41 +02:00
..
2019-10-27 22:03:06 +01:00
2020-05-11 00:37:16 +02:00
2020-04-23 15:40:06 +02:00
2020-04-23 15:40:06 +02:00
2020-10-16 19:48:19 +02:00
2020-10-16 19:48:19 +02:00
2018-04-27 18:01:00 +01:00