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

2015-10-04 Thread Vlad Zolotarov
On 10/04/15 22:03, Greg KH wrote: On Sun, Oct 04, 2015 at 07:49:35PM +0300, Vlad Zolotarov wrote: FYI: I've just posted to linux-kernel list patches that add support for both MSI and MSI-X interrupt modes to uio_pci_generic driver. It addresses most (all) remarks on this thread and also fixes

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

2015-10-04 Thread Greg KH
On Sun, Oct 04, 2015 at 07:49:35PM +0300, Vlad Zolotarov wrote: > FYI: I've just posted to linux-kernel list patches that add support for both > MSI and MSI-X interrupt modes to uio_pci_generic driver. > It addresses most (all) remarks on this thread and also fixes some issues > this code has, e.g.

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

2015-10-04 Thread Vlad Zolotarov
FYI: I've just posted to linux-kernel list patches that add support for both MSI and MSI-X interrupt modes to uio_pci_generic driver. It addresses most (all) remarks on this thread and also fixes some issues this code has, e.g. not disabling msi-x in remove(), etc. U are all welcome to comment.

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

2015-10-01 Thread Alexander Duyck
On 10/01/2015 05:04 PM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 16:43:23 -0700 Alexander Duyck wrote: Yes, but in the case of something like a VF it is going to just make a bigger mess of things since INTx doesn't work. So what would you expect your driver to do in that case? Also we hav

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

2015-10-01 Thread Stephen Hemminger
On Thu, 1 Oct 2015 16:43:23 -0700 Alexander Duyck wrote: > Yes, but in the case of something like a VF it is going to just make a > bigger mess of things since INTx doesn't work. So what would you expect > your driver to do in that case? Also we have to keep in mind that the > MSI-X failure

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

2015-10-01 Thread Alexander Duyck
On 10/01/2015 04:39 PM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 16:03:06 -0700 Alexander Duyck wrote: On 10/01/2015 03:00 PM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 12:48:36 -0700 Alexander Duyck wrote: On 10/01/2015 07:57 AM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 13:59:02

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

2015-10-01 Thread Stephen Hemminger
On Thu, 1 Oct 2015 16:03:06 -0700 Alexander Duyck wrote: > On 10/01/2015 03:00 PM, Stephen Hemminger wrote: > > On Thu, 1 Oct 2015 12:48:36 -0700 > > Alexander Duyck wrote: > > > >> On 10/01/2015 07:57 AM, Stephen Hemminger wrote: > >>> On Thu, 1 Oct 2015 13:59:02 +0300 > >>> Avi Kivity wrote:

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

2015-10-01 Thread Alexander Duyck
On 10/01/2015 03:00 PM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 12:48:36 -0700 Alexander Duyck wrote: On 10/01/2015 07:57 AM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 13:59:02 +0300 Avi Kivity wrote: On 10/01/2015 01:28 AM, Stephen Hemminger wrote: This is a new UIO device driver t

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

2015-10-01 Thread Stephen Hemminger
On Thu, 1 Oct 2015 12:48:36 -0700 Alexander Duyck wrote: > On 10/01/2015 07:57 AM, Stephen Hemminger wrote: > > On Thu, 1 Oct 2015 13:59:02 +0300 > > Avi Kivity wrote: > > > >> On 10/01/2015 01:28 AM, Stephen Hemminger wrote: > >>> This is a new UIO device driver to allow supporting MSI-X and MS

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

2015-10-01 Thread Alexander Duyck
On 10/01/2015 07:57 AM, Stephen Hemminger wrote: On Thu, 1 Oct 2015 13:59:02 +0300 Avi Kivity wrote: 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

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

2015-10-01 Thread Stephen Hemminger
On Thu, 1 Oct 2015 13:59:02 +0300 Avi Kivity wrote: > 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 IOM

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

2015-10-01 Thread Avi Kivity
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_gene