From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id EF2F7B0BC for ; Wed, 11 Jun 2014 12:30:01 +0200 (CEST) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1WufnC-0006hB-Ly; Wed, 11 Jun 2014 06:30:14 -0400 Date: Wed, 11 Jun 2014 06:30:05 -0400 From: Neil Horman To: Stephen Hemminger Message-ID: <20140611103005.GA19777@hmsreliant.think-freely.org> References: <20140606212644.203613327@networkplumber.org> <0E29434AEE0C3A4180987AB476A6F630593A5E2D@IRSMSX101.ger.corp.intel.com> <20140610104035.08d3946a@nehalam.linuxnetplumber.net> <0E29434AEE0C3A4180987AB476A6F630593A5F6C@IRSMSX101.ger.corp.intel.com> <20140610134709.03524b62@nehalam.linuxnetplumber.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20140610134709.03524b62@nehalam.linuxnetplumber.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 00/10] igb_uio patches X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Jun 2014 10:30:02 -0000 On Tue, Jun 10, 2014 at 01:47:09PM -0700, Stephen Hemminger wrote: > On Tue, 10 Jun 2014 19:26:08 +0000 > "Carew, Alan" wrote: > > > One alternative for us is then to take Neil Horman's idea of scanning /sys/bus/pci/devices//msi_irqs/ > > This gives us at least (MSI | MSI-X) | INT-X, however the Virtio specification mentions MSI-X explicitly for determining the correct offset and might not address the underlying problem my patch set was addressing, I have not tried Virtio with MSI. > > MSI doesn't work with virtio. pci_enable_msi() returns error. The device > does not report MSI capability. > /sys/bus/pci/devices//irq also indicates which legacy irq is assigned to a given device Neil