igb driver RX (was TX) hangs when out of mbuf clusters
Michael Tüxen
Michael.Tuexen at lurchi.franken.de
Tue Feb 8 10:42:39 UTC 2011
On Feb 8, 2011, at 10:10 AM, Lev Serebryakov wrote:
> Hello, Karim.
> You wrote 8 февраля 2011 г., 6:29:53:
>
>> Precisely, the exact same behavior happens (RX hang) if options
>> DEVICE_POLLING is _not_ used in the kernel configuration file. I tried with
>> POLLING since someone mentioned that it helped in a case mentioned earlier
>> today. Unfortunately for igb with or without polling yields the same rx ring
>> filing problem.
> In my case (em(4), not igb(4) but symptoms are VERY similar) POLLING
> (both as kernel option AND "ifconfig em0 polling") options leads to
> resets (which drops all connections!) AFTER such kernel messages:
>
> em0: Watchdog timeout -- resetting
> em0: Queue(0) tdh = 1302, hw tdt = 1265
> em0: TX(0) desc avail = 31,Next TX to Clean = 1296
Can you apply the attached patch and report what
the output for rx_nxt_refresh and rx_nxt_check is?
Best regards
Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: application/octet-stream
Size: 1259 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-net/attachments/20110208/3a37a2fb/patch.obj
-------------- next part --------------
>
> --
> // Black Lion AKA Lev Serebryakov <lev at serebryakov.spb.ru>
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
More information about the freebsd-net
mailing list