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
..
2020-09-30 19:19:14 +02:00
2020-10-16 19:48:17 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-09-30 19:19:14 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 19:48:18 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 19:48:18 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-09-30 19:19:14 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-09-30 19:19:14 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-09-30 19:19:14 +02:00
2020-09-30 19:19:14 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 19:47:58 +02:00
2020-10-16 19:47:58 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-15 02:14:13 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-09-08 00:09:50 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-10-16 22:26:41 +02:00
2020-06-30 00:02:54 +02:00