Re: [dpdk-dev] [PATCH 0/2] uio_msi: device driver

Avi Kivity
2015-10-01T10:59:08Z

On 10/01/2015 01:28 AM, Stephen Hemminger wrote:
> This is a new UIO device driver to allow supporting MSI-X and MSI devices
> in userspace. It has been used in environments like VMware and older versions
> of QEMU/KVM where no IOMMU support is available.

Why not add msi/msix support to uio_pci_generic?

> Stephen Hemminger (2):
>
> *** BLURB HERE ***
>
> Stephen Hemminger (2):
> uio: add support for ioctls
> uio: new driver to support PCI MSI-X
>
> drivers/uio/Kconfig | 9 ++
> drivers/uio/Makefile | 1 +
> drivers/uio/uio.c | 15 ++
> drivers/uio/uio_msi.c | 378 +++++++++++++++++++++++++++++++++++++++++++
> include/linux/uio_driver.h | 3 +
> include/uapi/linux/Kbuild | 1 +
> include/uapi/linux/uio_msi.h | 22 +++
> 7 files changed, 429 insertions(+)
> create mode 100644 drivers/uio/uio_msi.c
> create mode 100644 include/uapi/linux/uio_msi.h
>