[dpdk-dev] UIO pci-generic support broke igb_uio

Zhou, Danny danny.zhou at intel.com
Wed Apr 15 09:19:39 CEST 2015


Could you please send out the steps for us to reproduce it? I guess you have applied
v6 interrupt patches to perform interrupt related tests, right?

We cannot reproduce it now.

The support to in_kernel uio_pci_generic avoids using igb_uio this DPDK specific kernel module, 
so it will be much easier for any Linux distribution to package DPDK.

> -----Original Message-----
> From: Stephen Hemminger [mailto:stephen at networkplumber.org]
> Sent: Wednesday, April 15, 2015 9:06 AM
> To: Zhou, Danny; Richardson, Bruce; Doherty, Declan
> Cc: dev at dpdk.org
> Subject: UIO pci-generic support broke igb_uio
> 
> 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 <danny.zhou at intel.com>
> 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 <danny.zhou at intel.com>
>     Signed-off-by: Bruce Richardson <bruce.richardson at intel.com>
>     Acked-by: Declan Doherty <declan.doherty at intel.com>


More information about the dev mailing list