[dpdk-dev] [PATCH v4 5/5] eal/windows: added support for rte_bus_close API
rohit.raj at nxp.com
rohit.raj at nxp.com
Thu Oct 8 17:30:47 CEST 2020
From: Rohit Raj <rohit.raj at nxp.com>
Added support for rte_bus_close API on windows to reset the devices on
the bus to default state.
Signed-off-by: Rohit Raj <rohit.raj at nxp.com>
---
lib/librte_eal/windows/eal.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/librte_eal/windows/eal.c b/lib/librte_eal/windows/eal.c
index bc48f27ab..9eb32077b 100644
--- a/lib/librte_eal/windows/eal.c
+++ b/lib/librte_eal/windows/eal.c
@@ -251,7 +251,7 @@ rte_eal_cleanup(void)
{
struct internal_config *internal_conf =
eal_get_internal_configuration();
-
+ rte_bus_close();
eal_cleanup_config(internal_conf);
return 0;
}
--
2.17.1
More information about the dev
mailing list