Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Feb 2011 15:43:25 -0500
From:      Karim Fodil-Lemelin <fodillemlinkarim@gmail.com>
To:        freebsd-net@freebsd.org
Subject:   Fwd: igb driver tx hangs when out of mbuf clusters
Message-ID:  <AANLkTikPEK_69if-gZ0nygdLBOTtrUZmPNTnyhHtJr6K@mail.gmail.com>
In-Reply-To: <AANLkTing_L5eLe09xzwgmtF4cp4qO8n8mdRsp4d4ZAxY@mail.gmail.com>
References:  <AANLkTim=OYB5cC1H86N_-tDW1w_ipR5-gZjZnT6k%2BMv5@mail.gmail.com> <10510673199.20110207203507@serebryakov.spb.ru> <AANLkTing_L5eLe09xzwgmtF4cp4qO8n8mdRsp4d4ZAxY@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
apologies if this gets in twice.

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


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

Hello, Karim.
> You wrote 7 =C6=C5=D7=D2=C1=CC=D1 2011 =C7., 19:58:04:
>
>
> > The issue is with the igb driver from 7.4 RC3 r218406. If the driver ru=
ns
> > 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@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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikPEK_69if-gZ0nygdLBOTtrUZmPNTnyhHtJr6K>