[dpdk-dev] ethtool doesnt work on some interface after unbinding dpdk

2016-04-29 Thread Gopakumar Choorakkot Edakkunni
Just to update this thread. With power management for IGB disabled, this problem is not seen .. So for now thats the "workaround" Rgds, Gopa. On Mon, Apr 18, 2016 at 3:08 AM, Remy Horton wrote: > > On 15/04/2016 23:56, Gopakumar Choorakkot Edakkunni wrote: > >> This time the problem statement i

[dpdk-dev] ethtool doesnt work on some interface after unbinding dpdk

2016-04-18 Thread Remy Horton
On 15/04/2016 23:56, Gopakumar Choorakkot Edakkunni wrote: > This time the problem statement is more narrowed down. > > 1. dpdk is enabled on the interface, interfaces bound to igb_uio > 3. kill the process using dpdk > 3. rmmod rte_kni > 4. rmmod igb_uio > 5. bind interface to igb > 6. ethtool, i

[dpdk-dev] ethtool doesnt work on some interface after unbinding dpdk

2016-04-15 Thread Gopakumar Choorakkot Edakkunni
Well, I jumped to a conclusion too soon on the ACPI, that was a wrong statement (wishful thinking), I recreated the issue even with ACPI off This time the problem statement is more narrowed down. 1. dpdk is enabled on the interface, interfaces bound to igb_uio 3. kill the process using dpdk 3. rm

[dpdk-dev] ethtool doesnt work on some interface after unbinding dpdk

2016-04-15 Thread Gopakumar Choorakkot Edakkunni
So looks like I figured it out .. I came across this bug reference https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=728692 and thought of checking out my problem with ACPI turned off. And with ACPI turned off, the problem doesnt happen. So theres something that the igb driver is not happy about wh

[dpdk-dev] ethtool doesnt work on some interface after unbinding dpdk

2016-04-15 Thread Gopakumar Choorakkot Edakkunni
Nothing in dmesg .. The ethtool was just a side-observation, the biggest problem was that after unbinding from igb_uio and rebinding to igb, if I follow it up with an /etc/init.d/network restart, that completely hoses the linux system - anyone trying to open a socket (ifconfig for example) just han

[dpdk-dev] ethtool doesnt work on some interface after unbinding dpdk

2016-04-15 Thread Remy Horton
On 14/04/2016 20:25, Gopakumar Choorakkot Edakkunni wrote: [..] > ge8-> 06:00.0 Ethernet controller: Intel Corporation 82576 Gigabit > Network Connection (rev 01) > > root:~# ls /sys/class/net/ge8/device/driver/module/drivers/ > pci:igb > root:~# > > root:~# ethtool ge8 > Settings for ge8: >

[dpdk-dev] ethtool doesnt work on some interface after unbinding dpdk

2016-04-14 Thread Gopakumar Choorakkot Edakkunni
Hi Remy, Thanks for the response. The error is "No such device", some snippets below. And no I was not using the dpdk ethtool ge8-> 06:00.0 Ethernet controller: Intel Corporation 82576 Gigabit Network Connection (rev 01) root:~# ls /sys/class/net/ge8/device/driver/module/drivers/ pci:igb r

[dpdk-dev] ethtool doesnt work on some interface after unbinding dpdk

2016-04-14 Thread Remy Horton
Morning, On 13/04/2016 15:48, Gopakumar Choorakkot Edakkunni wrote: [..] > then after a while I > unbind from igb_uio and bind them back to igb/ixgbe. At this point, one of > the 4 igb ports (random) stops responding to ethtool, ethtool bails out > with some error. But otherwise the interface seem

[dpdk-dev] ethtool doesnt work on some interface after unbinding dpdk

2016-04-13 Thread Gopakumar Choorakkot Edakkunni
All, I have a Xeon machine with linux kernel 3.14 and dpdk 2.0, I have 6 ports of which 4 are igb and 2 are ixgbe drivers .. I use the python script in the dpdk distribution to bind and unbind the ports. I unbind them from linux and bind to igb_uio, dpdk works just fine, then after a while I unbin