On Thu, Oct 08, 2020 at 09:00:47PM +0530, rohit....@nxp.com wrote: > From: Rohit Raj <rohit....@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....@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();
Should we verify the return code here? > eal_cleanup_config(internal_conf); > return 0; > }