All of lore.kernel.org
 help / color / mirror / Atom feed
* UIO pci-generic support broke igb_uio
@ 2015-04-15  1:06 Stephen Hemminger
  2015-04-15  7:19 ` Zhou, Danny
  0 siblings, 1 reply; 6+ messages in thread
From: Stephen Hemminger @ 2015-04-15  1:06 UTC (permalink / raw)
  To: Danny Zhou, Bruce Richardson, Declan Doherty; +Cc: dev-VfR2kkLFssw

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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
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-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
    Signed-off-by: Bruce Richardson <bruce.richardson-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
    Acked-by: Declan Doherty <declan.doherty-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2015-04-15 16:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-15  1:06 UIO pci-generic support broke igb_uio Stephen Hemminger
2015-04-15  7:19 ` Zhou, Danny
     [not found]   ` <DFDF335405C17848924A094BC35766CF0AB5C943-0J0gbvR4kTg/UvCtAeCM4rfspsVTdybXVpNB7YpNyf8@public.gmane.org>
2015-04-15 15:57     ` Stephen Hemminger
2015-04-15 16:34     ` [PATCH 0/2] fix UIO support broken by 2.0 Stephen Hemminger
2015-04-15 16:36       ` [PATCH 1/2 kernel] uio: add irq control support to uio_pci_generic Stephen Hemminger
2015-04-15 16:38       ` [PATCH 2/2 dpdk] uio: fix pci generic driver breakage Stephen Hemminger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.