[dpdk-dev] [PATCH v1 5/8] bus/fslmc: fix usage of dpio blocklist flag
Sachin Saxena (OSS)
sachin.saxena at oss.nxp.com
Fri Sep 11 09:59:08 CEST 2020
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