[dpdk-dev] [PATCH v2 5/8] bus/fslmc: fix usage of dpio blocklist flag
Hemant Agrawal
hemant.agrawal at nxp.com
Mon Sep 14 12:58:17 CEST 2020
Please squash it with patch 2/8
> -----Original Message-----
> From: Sachin Saxena (OSS) <sachin.saxena at oss.nxp.com>
> Sent: Friday, September 11, 2020 2:05 PM
> To: dev at dpdk.org; ferruh.yigit at intel.com
> Subject: [PATCH v2 5/8] bus/fslmc: fix usage of dpio blocklist flag
>
> From: Sachin Saxena <sachin.saxena at oss.nxp.com>
>
> DPIO object shouldn't be reserved if it is mentioned in blocklist.
> Exiting code is not setting the correct flag when such object is found.
>
> Fixes: c904a212646a ("bus/fslmc: run secondary debug app without blocklist
> devices")
>
> Signed-off-by: Sachin Saxena <sachin.saxena at oss.nxp.com>
> ---
> drivers/bus/fslmc/fslmc_vfio.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/bus/fslmc/fslmc_vfio.c b/drivers/bus/fslmc/fslmc_vfio.c
> index 6dd797632..83df83373 100644
> --- a/drivers/bus/fslmc/fslmc_vfio.c
> +++ b/drivers/bus/fslmc/fslmc_vfio.c
> @@ -816,7 +816,7 @@ fslmc_vfio_process_group(void)
> dpio_count++;
> if (dev->device.devargs &&
> dev->device.devargs->policy ==
> RTE_DEV_BLACKLISTED)
> - is_dpmcp_in_blocklist = true;
> + is_dpio_in_blocklist = true;
> }
> }
>
> --
> 2.28.0
More information about the dev
mailing list