From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: UIO pci-generic support broke igb_uio Date: Tue, 14 Apr 2015 18:06:20 -0700 Message-ID: <20150414180620.03deb8ee@urahara> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: dev-VfR2kkLFssw@public.gmane.org To: Danny Zhou , Bruce Richardson , Declan Doherty Return-path: List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" The addition of uio pci-generic broke use if igb_uio because the wrong file descriptor is being used. If I was a hard ass I would recommend uio pci-generic support be reverted from 2.0 until/unless this fixed. Failure mode is on startup: EAL: Error reading interrupts status for fd 0 PANIC in start_port() rte_eth-dev_start: port=0 err=-5 The problem commit is: commit 4a499c64959074ba6fa6a5a2b3a2a6aa10627fa1 Author: Danny Zhou Date: Fri Feb 20 16:59:15 2015 +0000 eal/linux: enable uio_pci_generic support Change the EAL PCI code so that it can work with both the uio_pci_generic in-tree driver, as well as the igb_uio DPDK-specific driver. This involves changes to 1) Modify method of retrieving BAR resource mapping information 2) Mapping using resource files in /sys rather than /dev/uio* 2) Setup bus master bit in NIC's PCIe configuration space for uio_pci_generic. Signed-off-by: Danny Zhou Signed-off-by: Bruce Richardson Acked-by: Declan Doherty