[dpdk-dev] [PATCH v2 09/10] igbuio: show irq mode in sysfs

2014-06-16 Thread Carew, Alan
> -Original Message- > From: Stephen Hemminger [mailto:stephen at networkplumber.org] > Sent: Wednesday, June 11, 2014 9:08 PM > To: Carew, Alan > Cc: Neil Horman; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 09/10] igbuio: show irq mode in sysfs > > T

[dpdk-dev] [PATCH v2 09/10] igbuio: show irq mode in sysfs

2014-06-12 Thread Neil Horman
On Wed, Jun 11, 2014 at 06:27:35PM +, Carew, Alan wrote: > > -Original Message- > > From: Neil Horman [mailto:nhorman at tuxdriver.com] > > Sent: Sunday, June 08, 2014 4:37 PM > > To: Stephen Hemminger > > Cc: Carew, Alan; dev at dpdk.org > > Sub

[dpdk-dev] [PATCH v2 09/10] igbuio: show irq mode in sysfs

2014-06-11 Thread Carew, Alan
> -Original Message- > From: Neil Horman [mailto:nhorman at tuxdriver.com] > Sent: Sunday, June 08, 2014 4:37 PM > To: Stephen Hemminger > Cc: Carew, Alan; dev at dpdk.org > Subject: Re: [dpdk-dev] [PATCH v2 09/10] igbuio: show irq mode in sysfs > > On Fri, Ju

[dpdk-dev] [PATCH v2 09/10] igbuio: show irq mode in sysfs

2014-06-11 Thread Stephen Hemminger
This is what I am testing, along with 10 other virtio patches. Subject: virtio: check for using msix interrupt Fix how the device driver detects MSI-X vs INTX mode. Look in sysfs to find if MSI-X is enabled. Suggested-by: Neil Horman Signed-off-by: Stephen Hemminger ---

[dpdk-dev] [PATCH v2 09/10] igbuio: show irq mode in sysfs

2014-06-08 Thread Neil Horman
On Fri, Jun 06, 2014 at 04:50:37PM -0700, Stephen Hemminger wrote: > Since irq mode is determined dynamically on a per-device > basis, and virtio needs to know if using intx or msi-x, > make it a sysfs attribute. > > --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c > +++

[dpdk-dev] [PATCH v2 09/10] igbuio: show irq mode in sysfs

2014-06-06 Thread Stephen Hemminger
Since irq mode is determined dynamically on a per-device basis, and virtio needs to know if using intx or msi-x, make it a sysfs attribute. --- a/lib/librte_eal/linuxapp/igb_uio/igb_uio.c +++ b/lib/librte_eal/linuxapp/igb_uio/igb_uio.c @@ -43,6 +43,10 @@ IGBUIO_MSIX_INTR_MODE }; +static