[dpdk-dev] [PATCH v4 5/5] eal/windows: added support for rte_bus_close API
Narcisa Ana Maria Vasile
navasile at linux.microsoft.com
Tue Oct 27 06:55:27 CET 2020
On Thu, Oct 08, 2020 at 09:00:47PM +0530, rohit.raj at nxp.com wrote:
> 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();
Should we verify the return code here?
> eal_cleanup_config(internal_conf);
> return 0;
> }
More information about the dev
mailing list