DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Problem in DPDK1.4 controlling 82599 ixgbe NICS with Fedora 19
@ 2013-10-10  5:23 Prashant Upadhyaya
  2013-10-10 12:59 ` Cyril Cressent
  0 siblings, 1 reply; 2+ messages in thread
From: Prashant Upadhyaya @ 2013-10-10  5:23 UTC (permalink / raw)
  To: dev

Hi,

I am using DPDK1.4 with Fedora 19  [I am aware that DPDK1.4 release notes do not claim Fedora 19 as supported, but I tried nevertheless and reporting this issue]

When I bootup, I see the following in lscpi output [I have two dual port 82599 10 Gb NIC's]

01:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)
01:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)
03:00.0 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)
03:00.1 Ethernet controller: Intel Corporation 82599EB 10-Gigabit SFI/SFP+ Network Connection (rev 01)

I also have 4 interfaces in ifconfig output shown by Fedora 19 - p1p1, p1p2, p2p1, p2p2 corresponding to the 4 ports above.
These work fine.

Now I try to unbind these ports so that they can be controlled by DPDK. (I load the igb_uio ofcourse as usual)
Now I first unbind the port represented by p1p1, this works and DPDK takes over this port.

However, now when I try to unbind the p1p2, it gives the following error

[root@localhost DPDK]# ./tools/pci_unbind.py --bind=igb_uio p1p2
Error: bind failed for 0000:01:00.1 - Cannot bind to driver igb_uio
Error: unbind failed for 0000:01:00.1 - Cannot open /sys/bus/pci/drivers//unbind

I cannot unbind any other ports either.

The one port which is unbound works fine with DPDK application without issues.

So the question is, why are the other ports giving issues ?

The same machine works with Fedora18 properly and is able to unbind all the 4 ports.

Regards
-Prashant





===============================================================================
Please refer to http://www.aricent.com/legal/email_disclaimer.html
for important disclosures regarding this electronic communication.
===============================================================================

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

* Re: [dpdk-dev] Problem in DPDK1.4 controlling 82599 ixgbe NICS with Fedora 19
  2013-10-10  5:23 [dpdk-dev] Problem in DPDK1.4 controlling 82599 ixgbe NICS with Fedora 19 Prashant Upadhyaya
@ 2013-10-10 12:59 ` Cyril Cressent
  0 siblings, 0 replies; 2+ messages in thread
From: Cyril Cressent @ 2013-10-10 12:59 UTC (permalink / raw)
  To: Prashant Upadhyaya; +Cc: dev

Hi Prashant,

On Thu, Oct 10, 2013 at 10:53:56AM +0530, Prashant Upadhyaya wrote:

> I am using DPDK1.4 with Fedora 19  [I am aware that DPDK1.4 release notes do not claim Fedora 19 as supported, but I tried nevertheless and reporting this issue]

Which kernel version are you running?


> Now I try to unbind these ports so that they can be controlled by DPDK. (I load the igb_uio ofcourse as usual)
> Now I first unbind the port represented by p1p1, this works and DPDK takes over this port.
> 
> However, now when I try to unbind the p1p2, it gives the following error
> 
> [root@localhost DPDK]# ./tools/pci_unbind.py --bind=igb_uio p1p2
> Error: bind failed for 0000:01:00.1 - Cannot bind to driver igb_uio
> Error: unbind failed for 0000:01:00.1 - Cannot open /sys/bus/pci/drivers//unbind
>
> I cannot unbind any other ports either.
> 
> The one port which is unbound works fine with DPDK application without issues.
> 
> So the question is, why are the other ports giving issues ?

I need to know the kernel version your Fedora 19 is running on to
confirm, but if I'm not mistaken it's a UIO bug that is
preventing devices after the first one bound to register properly.

We are aware of the issue and have a workaround for it.
Give me your Fedora 19 kernel version so I can double check if the
workaround applies or if the problem is caused by something else.

> The same machine works with Fedora18 properly and is able to unbind all the 4 ports.

Again, which kernel version is that Fedora 18 running on?


Cyril
--------------------------------------------------------------
Intel Shannon Limited
Registered in Ireland
Registered Office: Collinstown Industrial Park, Leixlip, County Kildare
Registered Number: 308263
Business address: Dromore House, East Park, Shannon, Co. Clare

This e-mail and any attachments may contain confidential material for the sole use of the intended recipient(s). Any review or distribution by others is strictly prohibited. If you are not the intended recipient, please contact the sender and delete all copies.

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

end of thread, other threads:[~2013-10-10 12:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-10-10  5:23 [dpdk-dev] Problem in DPDK1.4 controlling 82599 ixgbe NICS with Fedora 19 Prashant Upadhyaya
2013-10-10 12:59 ` Cyril Cressent

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).