[PATCH v2 2/2] bus/cdx: add bus master enable/disable APIs

2023-11-03 Thread Shubham Rohila
Define rte_cdx_vfio_bm_enable and rte_cdx_vfio_bm_disable to enable or disable bus master functionality for cdx devices. Signed-off-by: Shubham Rohila --- v2 - Fix indentations and alphabetical orderings. - Wrap checks in parenthesis for readability - Assign argsz before using in

[PATCH v2 1/2] bus/cdx: add support for devices without MSI

2023-11-03 Thread Shubham Rohila
From: Nikhil Agarwal Update the cleanup routine for cdx device to support device without MSI. Also, set vfio_dev_fd for such devices This fd can be used for BME reload operations. Signed-off-by: Nikhil Agarwal Signed-off-by: Shubham Rohila --- v2 - New patch in the series drivers/bus/cdx