Bug in igb driver

Michael freebsdusb at bindone.de
Tue Jun 2 18:53:25 UTC 2009


Thanks for your respsonse.

That code is obviously not in CURRENT yet, if you can provide me a patch
against CURRENT of today I can give it a try.

In the meantime this should really get into the 7.2 release errata -
similar to those regarding TSO on fxp (in the end these devices are
pretty common and tracking this down was an annoying experience I would
like to spare others). If that's beyond your scope maybe you can tell me
how to trigger this.

cheers
Michael

Jack Vogel wrote:
> Thanks for noting this,  code that is coming has the driver disable LRO
> when the stack calls for it, I believe it will solve this problem.
> 
> Regards,
> 
> Jack
> 
> 
> On Tue, Jun 2, 2009 at 9:52 AM, Michael <freebsdusb at bindone.de> wrote:
> 
>> Michael wrote:
>>> Hello,
>>>
>>> we encountered problems using igb driver on a Supermicro dual quad-core
>>> system (X7DWU).
>>> It features an Intel Gigabit dual port controller (82575).
>>>
>>> The IP forwarding performance was extremely bad (5 kb/s up to 50 kb/s)
>>> until we disabled
>>> Large Receive Offloading in /etc/sysctl.conf:
>>> dev.igb.0.enable_lro=0
>>> dev.igb.1.enable_lro=0
>>>
>>> (changing it using ifconfig -lro and down/up the interfaces didn't help).
>>>
>>> With the systctl values set as shown above, we get the expected
>>> performance ob 50-60 MB/s.
>>> We tested this on 7.1-RELEASE, 7.2-RELEASE and 7-STABLE. Right now we're
>>> installing
>>> 8-CURRENT on the machine to see if it makes a difference.
>>>
>>> It think it would be worthwhile to list this issue in the 7.2 release
>>> errata section (that would've
>>> saved us a significant amount of time :).
>>>
>>> Cheers
>>> Michael
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> freebsd-bugs at freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
>>> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
>>>
>> Turns out that 8/CURRENT of today has the same issues.
>> Is this okay as a bug report, or should I file a PR seperately?
>>
>> _______________________________________________
>> freebsd-bugs at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
>> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"
>>
> _______________________________________________
> freebsd-bugs at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-bugs
> To unsubscribe, send any mail to "freebsd-bugs-unsubscribe at freebsd.org"



More information about the freebsd-bugs mailing list