Re: [PATCH v6 3/4] bus/cdx: add support for MSI

2023-06-06 Thread Nipun Gupta
On 6/6/2023 3:00 PM, David Marchand wrote: On Mon, Jun 5, 2023 at 3:27 PM Nipun Gupta wrote: +/* set up interrupt support (but not enable interrupts) */ static int -cdx_rte_vfio_setup_device(int vfio_dev_fd) +cdx_vfio_setup_interrupts(struct rte_cdx_device *dev, int vfio_dev_fd, I had d

Re: [PATCH v6 3/4] bus/cdx: add support for MSI

2023-06-06 Thread David Marchand
On Mon, Jun 5, 2023 at 3:27 PM Nipun Gupta wrote: > +/* set up interrupt support (but not enable interrupts) */ > static int > -cdx_rte_vfio_setup_device(int vfio_dev_fd) > +cdx_vfio_setup_interrupts(struct rte_cdx_device *dev, int vfio_dev_fd, I had dropped a bit too much of the hunk in my prev

[PATCH v6 3/4] bus/cdx: add support for MSI

2023-06-05 Thread Nipun Gupta
MSI's are exposed to the devices using VFIO (vfio-cdx). This patch uses the same to add support for MSI for the devices on the cdx bus. Signed-off-by: Nipun Gupta Acked-by: Ferruh Yigit --- drivers/bus/cdx/bus_cdx_driver.h | 25 + drivers/bus/cdx/cdx.c| 11 ++ drivers/bus/cdx/