From owner-freebsd-net@FreeBSD.ORG Tue Jul 12 18:58: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 6E3C71065673 for ; Tue, 12 Jul 2011 18:58:26 +0000 (UTC) (envelope-from mike@sentex.net) Received: from smarthost1.sentex.ca (smarthost1-6.sentex.ca [IPv6:2607:f3e0:0:1::12]) by mx1.freebsd.org (Postfix) with ESMTP id 218478FC18 for ; Tue, 12 Jul 2011 18:58:26 +0000 (UTC) Received: from [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a] (saphire3.sentex.ca [IPv6:2607:f3e0:0:4:f025:8813:7603:7e4a]) by smarthost1.sentex.ca (8.14.4/8.14.4) with ESMTP id p6CIwKpf025700; Tue, 12 Jul 2011 14:58:21 -0400 (EDT) (envelope-from mike@sentex.net) Message-ID: <4E1C996B.8000205@sentex.net> Date: Tue, 12 Jul 2011 14:58:51 -0400 From: Mike Tancsa Organization: Sentex Communications User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 MIME-Version: 1.0 To: Hooman Fazaeli References: <4D2C636B.5040003@sentex.net> <4D3C4795.40205@sentex.net> <4D42EA74.4090807@sentex.net> <1296590190.2326.6.camel@hitfishpass-lx.corp.yahoo.com> <1296591565.2326.7.camel@hitfishpass-lx.corp.yahoo.com> <1296597827.2326.12.camel@hitfishpass-lx.corp.yahoo.com> <4D48C973.7080503@sentex.net> <4D49A26B.5050803@sentex.net> <1296842996.2233.0.camel@hitfishpass-lx.corp.yahoo.com> <4D4F3497.6050505@sentex.net> <4E141D01.3040203@sepehrs.com> <4E1438B8.9000409@sentex.net> <4E1C9870.1070500@sepehrs.com> In-Reply-To: <4E1C9870.1070500@sepehrs.com> X-Enigmail-Version: 1.1.1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.67 on IPv6:2607:f3e0:0:1::12 Cc: "freebsd-net@freebsd.org" , Jack Vogel Subject: Re: em driver, 82574L chip, and possibly ASPM 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: Tue, 12 Jul 2011 18:58:26 -0000 On 7/12/2011 2:54 PM, Hooman Fazaeli wrote: > tanx. > > out of curiosity, can some one pls. explain this? > > In if_em.c, function em_start_locked, there is: > > if (txr->tx_avail <= EM_TX_CLEANUP_THRESHOLD) > em_txeof(txr); > > inside while loop. While is if_igb.c, function igb_start_locked, > a similar code it is out of while loop: > > if (txr->tx_avail <= IGB_TX_CLEANUP_THRESHOLD) > igb_txeof(txr); > > is this intentional or mistake? > No idea, but Jack Vogel might know. ---Mike > > On 7/6/2011 2:58 PM, Mike Tancsa wrote: >> On 7/6/2011 4:29 AM, Hooman Fazaeli wrote: >>> Can you pls. share the patch for freebsd 7? >> Its in the tree. >> >> http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/e1000/ >> >> >> ---Mike >> > > -- ------------------- Mike Tancsa, tel +1 519 651 3400 Sentex Communications, mike@sentex.net Providing Internet services since 1994 www.sentex.net Cambridge, Ontario Canada http://www.tancsa.com/