From owner-freebsd-net@FreeBSD.ORG Mon Feb 7 20:43:26 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 526921065670 for ; Mon, 7 Feb 2011 20:43:26 +0000 (UTC) (envelope-from fodillemlinkarim@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 24D538FC0C for ; Mon, 7 Feb 2011 20:43:26 +0000 (UTC) Received: by pzk32 with SMTP id 32so1149665pzk.13 for ; Mon, 07 Feb 2011 12:43:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:content-type; bh=grkL+leM5fSBe03umsPCHkgcw9otH4D2hBnaoGTbqoI=; b=A7/CnnPlhv6swCMVO2cHDfuGVbE1vOeZlmhZ1PuZ2ab69M9Q61Z1uKwtGX7FwSMrA0 Yf3fwhKDH81M44vY6sW8/pcO9Oe1sAK+GSlOFB9cVS49GpZSd06oBwxxsvNNgsX/ktWn ZZfplpZG4GR0C3PWJahDu8a2Cc90X9HF1xWUY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Aw3qIIQHymqOT2aIIrJu3oHbKALQYG2YzzVDR/rrY8MlR6EHWmykTTmfrZSgtEwUlZ OBg19J4WBPiloYs4OYSyD6k2DCSRkCUzNEtX0RztBopqJgcFXf6ux9GJkY62kok7A7u/ znxEE09xld3BYKkbiLIItwQ+ggLQ92LopItfk= MIME-Version: 1.0 Received: by 10.142.131.17 with SMTP id e17mr13231806wfd.371.1297111405664; Mon, 07 Feb 2011 12:43:25 -0800 (PST) Received: by 10.142.246.3 with HTTP; Mon, 7 Feb 2011 12:43:25 -0800 (PST) In-Reply-To: References: <10510673199.20110207203507@serebryakov.spb.ru> Date: Mon, 7 Feb 2011 15:43:25 -0500 Message-ID: From: Karim Fodil-Lemelin To: freebsd-net@freebsd.org Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Fwd: igb driver tx hangs when out of mbuf clusters X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Feb 2011 20:43:26 -0000 apologies if this gets in twice. ---------- Forwarded message ---------- From: Karim Fodil-Lemelin Date: 2011/2/7 Subject: Re: igb driver tx hangs when out of mbuf clusters To: Lev Serebryakov Cc: freebsd-net@freebsd.org 2011/2/7 Lev Serebryakov 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 > > 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.