All of lore.kernel.org
 help / color / mirror / Atom feed
* igb_uio binding issue
@ 2016-02-01 11:59 Pankaj Joshi
  2016-02-01 12:26 ` De Lara Guarch, Pablo
  2016-02-01 14:19 ` Remy Horton
  0 siblings, 2 replies; 3+ messages in thread
From: Pankaj Joshi @ 2016-02-01 11:59 UTC (permalink / raw)
  To: dev

Hello,

I am running DPDK sample application of l2_fwd.
I have some of the ports like ,

Network devices using IGB_UIO driver
====================================
0000:84:00.0 'I350 Gigabit Network Connection' drv=igb_uio unused=
0000:84:00.1 'I350 Gigabit Network Connection' drv=igb_uio unused=
Network devices using kernel driver
===================================
0000:05:00.0 'I350 Gigabit Network Connection' if=eth0 drv=igb
unused=igb_uio *Active*
0000:05:00.1 'I350 Gigabit Network Connection' if=eth1 drv=igb
unused=igb_uio
0000:06:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' if=eth4
drv=ixgbe unused=igb_uio
0000:06:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' if=eth5
drv=ixgbe unused=igb_uio
0000:0c:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' if=eth6
drv=ixgbe unused=igb_uio
0000:0c:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' if=eth7
drv=ixgbe unused=igb_uio
Other network devices
=====================
<none>

I have binded two port, but while running application it is searching for
ports which I have not binded.. Logs are showing as below :

EAL: Core 1 is ready (tid=cef5c700)
EAL: PCI device 0000:05:00.0 on NUMA socket 0
EAL:   probe driver: 8086:1521 rte_igb_pmd
EAL:   0000:05:00.0 not managed by UIO driver, skipping
EAL: PCI device 0000:05:00.1 on NUMA socket 0
EAL:   probe driver: 8086:1521 rte_igb_pmd
EAL:   0000:05:00.1 not managed by UIO driver, skipping
EAL: PCI device 0000:84:00.0 on NUMA socket 1
EAL:   probe driver: 8086:1521 rte_igb_pmd
EAL:   PCI memory mapped at 0x7f49d021a000
EAL:   PCI memory mapped at 0x7f49d0354000
EAL: PCI device 0000:84:00.1 on NUMA socket 1
EAL:   probe driver: 8086:1521 rte_igb_pmd
EAL:   PCI memory mapped at 0x7f49cd65a000
EAL:   PCI memory mapped at 0x7f49d0216000
Lcore 0: RX port 0
Lcore 1: RX port 1
Initializing port 0... EAL: Error - exiting with code: 1
  Cause: rte_eth_rx_queue_setup:err=-12, port=0

Can any one figure out the problem.

thanks,

Pankaj Joshi

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

* Re: igb_uio binding issue
  2016-02-01 11:59 igb_uio binding issue Pankaj Joshi
@ 2016-02-01 12:26 ` De Lara Guarch, Pablo
  2016-02-01 14:19 ` Remy Horton
  1 sibling, 0 replies; 3+ messages in thread
From: De Lara Guarch, Pablo @ 2016-02-01 12:26 UTC (permalink / raw)
  To: Pankaj Joshi, dev

Hi Pankaj,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Pankaj Joshi
> Sent: Monday, February 01, 2016 11:59 AM
> To: dev@dpdk.org
> Subject: [dpdk-dev] igb_uio binding issue
> 
> Hello,
> 
> I am running DPDK sample application of l2_fwd.
> I have some of the ports like ,
> 
> Network devices using IGB_UIO driver
> ====================================
> 0000:84:00.0 'I350 Gigabit Network Connection' drv=igb_uio unused=
> 0000:84:00.1 'I350 Gigabit Network Connection' drv=igb_uio unused=
> Network devices using kernel driver
> ===================================
> 0000:05:00.0 'I350 Gigabit Network Connection' if=eth0 drv=igb
> unused=igb_uio *Active*
> 0000:05:00.1 'I350 Gigabit Network Connection' if=eth1 drv=igb
> unused=igb_uio
> 0000:06:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' if=eth4
> drv=ixgbe unused=igb_uio
> 0000:06:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' if=eth5
> drv=ixgbe unused=igb_uio
> 0000:0c:00.0 '82599ES 10-Gigabit SFI/SFP+ Network Connection' if=eth6
> drv=ixgbe unused=igb_uio
> 0000:0c:00.1 '82599ES 10-Gigabit SFI/SFP+ Network Connection' if=eth7
> drv=ixgbe unused=igb_uio
> Other network devices
> =====================
> <none>
> 
> I have binded two port, but while running application it is searching for
> ports which I have not binded.. Logs are showing as below :
> 
> EAL: Core 1 is ready (tid=cef5c700)
> EAL: PCI device 0000:05:00.0 on NUMA socket 0
> EAL:   probe driver: 8086:1521 rte_igb_pmd
> EAL:   0000:05:00.0 not managed by UIO driver, skipping
> EAL: PCI device 0000:05:00.1 on NUMA socket 0
> EAL:   probe driver: 8086:1521 rte_igb_pmd
> EAL:   0000:05:00.1 not managed by UIO driver, skipping
> EAL: PCI device 0000:84:00.0 on NUMA socket 1
> EAL:   probe driver: 8086:1521 rte_igb_pmd
> EAL:   PCI memory mapped at 0x7f49d021a000
> EAL:   PCI memory mapped at 0x7f49d0354000
> EAL: PCI device 0000:84:00.1 on NUMA socket 1
> EAL:   probe driver: 8086:1521 rte_igb_pmd
> EAL:   PCI memory mapped at 0x7f49cd65a000
> EAL:   PCI memory mapped at 0x7f49d0216000
> Lcore 0: RX port 0
> Lcore 1: RX port 1
> Initializing port 0... EAL: Error - exiting with code: 1
>   Cause: rte_eth_rx_queue_setup:err=-12, port=0
> 
> Can any one figure out the problem.
> 
As you can see in the log, DPDK got the ports that you bound to igb_uio, 84:00.x (the others have been skipped).
The problem is that it could not configure the devices properly.
Could you send the command line that you used?

Pablo
> thanks,
> 
> Pankaj Joshi

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

* Re: igb_uio binding issue
  2016-02-01 11:59 igb_uio binding issue Pankaj Joshi
  2016-02-01 12:26 ` De Lara Guarch, Pablo
@ 2016-02-01 14:19 ` Remy Horton
  1 sibling, 0 replies; 3+ messages in thread
From: Remy Horton @ 2016-02-01 14:19 UTC (permalink / raw)
  To: dev


On 01/02/2016 11:59, Pankaj Joshi wrote:
> Lcore 0: RX port 0
> Lcore 1: RX port 1
> Initializing port 0... EAL: Error - exiting with code: 1
>    Cause: rte_eth_rx_queue_setup:err=-12, port=0
>
> Can any one figure out the problem.
>

My first guess would be lack of reserved memory. Try upping nr_hugepages 
under /sys/devices/ as I've once or twice found the 64 suggested in 
http://dpdk.org/doc/quick-start to be a bit low..

..Remy

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

end of thread, other threads:[~2016-02-01 14:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-01 11:59 igb_uio binding issue Pankaj Joshi
2016-02-01 12:26 ` De Lara Guarch, Pablo
2016-02-01 14:19 ` Remy Horton

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.