[RFC PATCH 0/7] support vfio platform PMD

Xia, Chenbo chenbo.xia at intel.com
Fri Dec 23 08:05:06 CET 2022


> -----Original Message-----
> From: Tomasz Duszynski <tduszynski at marvell.com>
> Sent: Friday, December 23, 2022 7:24 AM
> To: dev at dpdk.org
> Cc: thomas at monjalon.net; jerinj at marvell.com; Tomasz Duszynski
> <tduszynski at marvell.com>
> Subject: [RFC PATCH 0/7] support vfio platform PMD
> 
> This series aims to add support for managing vfio platform
> devices from userspace application conveniently i.e
> without going through the configuration required by vfio
> and opencoding everything. Instead convenience helpers
> are provided.
> 
> vfio platform devices, from the kernel standpoint, are ones
> that do not have built-in discovery capabilities and are
> behind an IOMMU.
> 
> This PMD is backed by both vfio-platform and vfio
> kernel drivers and ideally should give access to all
> vfio capabilities. As of now, access to memory maps and
> DMA are supported.
> 
> PMD requires platform bus support [1].
> 
> [1] https://lore.kernel.org/dpdk-dev/20221222000106.270619-1-
> tduszynski at marvell.com/

I have not looked into all details. But just wondering: why not making this
part of the platform bus. This seems generic and then vendors can have their
own platform drivers.

Thanks,
Chenbo


More information about the dev mailing list