[v4,4/5] eal/freebsd: added support for rte_bus_close API
Checks
Commit Message
From: Rohit Raj <rohit.raj@nxp.com>
Added support for rte_bus_close API on freebsd to reset the devices on
the bus to default state.
Signed-off-by: Rohit Raj <rohit.raj@nxp.com>
---
lib/librte_eal/freebsd/eal.c | 1 +
1 file changed, 1 insertion(+)
@@ -962,6 +962,7 @@ rte_eal_cleanup(void)
{
struct internal_config *internal_conf =
eal_get_internal_configuration();
+ rte_bus_close();
rte_service_finalize();
rte_mp_channel_cleanup();
rte_trace_save();