[dpdk-dev] [PATCH 4/5] uio: new driver with MSI-X support

2015-05-25 Thread Liang, Cunming
On 5/19/2015 1:40 AM, Stephen Hemminger wrote: > + > +/* set the mapping between vector # and existing eventfd. */ > +static int set_irq_eventfd(struct uio_msi_pci_dev *udev, u32 vec, int fd) > +{ > + struct uio_msi_irq_ctx *ctx; > + struct eventfd_ctx *trigger; > + int irq, err; > +

[dpdk-dev] [PATCH 4/5] uio: new driver with MSI-X support

2015-05-25 Thread Stephen Hemminger
On Mon, 25 May 2015 14:01:14 +0800 "Liang, Cunming" wrote: > > > On 5/19/2015 1:40 AM, Stephen Hemminger wrote: > > + > > +/* set the mapping between vector # and existing eventfd. */ > > +static int set_irq_eventfd(struct uio_msi_pci_dev *udev, u32 vec, int fd) > > +{ > > + struct

[dpdk-dev] [PATCH 4/5] uio: new driver with MSI-X support

2015-05-18 Thread Stephen Hemminger
This is a merge of igb_uio with the MSI-X support through eventfd (similar to VFIO). The driver requires a small change to upstream UIO driver to allow UIO drivers to support ioctl's. See: http://marc.info/?l=linux-kernel=143197030217434=2 http://www.spinics.net/lists/kernel/msg1993359.html