Fwd: igb driver tx hangs when out of mbuf clusters

Karim Fodil-Lemelin fodillemlinkarim at gmail.com
Mon Feb 7 20:43:26 UTC 2011


apologies if this gets in twice.

---------- Forwarded message ----------
From: Karim Fodil-Lemelin <fodillemlinkarim at gmail.com>
Date: 2011/2/7
Subject: Re: igb driver tx hangs when out of mbuf clusters
To: Lev Serebryakov <lev at serebryakov.spb.ru>
Cc: freebsd-net at freebsd.org


2011/2/7 Lev Serebryakov <lev at serebryakov.spb.ru>

Hello, Karim.
> You wrote 7 февраля 2011 г., 19:58:04:
>
>
> > The issue is with the igb driver from 7.4 RC3 r218406. If the driver runs
> > out of mbuf clusters it simply stops receiving even after the clusters
> have
> > been freed.
>   It looks like my problems with em0 (see thread "em0 hangs without
>  any messages like "Watchdog timeout", only down/up reset it.")...
>  Codebase for em and igb is somewhat common...
>
> --
> // Black Lion AKA Lev Serebryakov <lev at serebryakov.spb.ru>
>
> I agree.

Do you get missed packets in mac_stats (sysctl dev.em | grep missed)?

I might not have mentioned but I can also 'fix' the problem by doing
ifconfig igb0 down/up.

I will try using POLLING to 'automatize' the reset as you mentioned in your
thread.

Karim.


More information about the freebsd-net mailing list