Re: [PATCH v5 1/5] bus/cdx: introduce AMD CDX bus

2023-06-05 Thread Nipun Gupta
On 6/1/2023 8:30 PM, David Marchand wrote: Hello, On Thu, May 25, 2023 at 12:08 PM Nipun Gupta wrote: + * AMD CDX bus interface + */ + +#ifdef __cplusplus +extern "C" { +#endif Do you expect some out of tree drivers written in C++? Otherwise, this is unneeded. As the CDX devices

Re: [PATCH v5 1/5] bus/cdx: introduce AMD CDX bus

2023-06-01 Thread Nipun Gupta
On 6/1/2023 8:30 PM, David Marchand wrote: + +struct rte_cdx_bus rte_cdx_bus = { + .bus = { + .scan = cdx_scan, + .probe = cdx_probe, + .find_device = cdx_find_device, + .parse = cdx_parse, I see neither unplug, nor cleanup op

Re: [PATCH v5 1/5] bus/cdx: introduce AMD CDX bus

2023-06-01 Thread David Marchand
Hello, On Thu, May 25, 2023 at 12:08 PM Nipun Gupta wrote: > > AMD CDX bus supports multiple type of devices, which can be > exposed to user-space via vfio-cdx. > > vfio-cdx provides the MMIO IO_MEMORY regions as well as the > DMA interface for the device (IOMMU). > > This support aims to enable

[PATCH v5 1/5] bus/cdx: introduce AMD CDX bus

2023-05-25 Thread Nipun Gupta
AMD CDX bus supports multiple type of devices, which can be exposed to user-space via vfio-cdx. vfio-cdx provides the MMIO IO_MEMORY regions as well as the DMA interface for the device (IOMMU). This support aims to enable the DPDK to support the cdx devices in user-space using VFIO interface. Si