Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jul 2011 23:24:40 +0430
From:      Hooman Fazaeli <fazaeli@sepehrs.com>
To:        Mike Tancsa <mike@sentex.net>
Cc:        "freebsd-net@freebsd.org" <freebsd-net@freebsd.org>
Subject:   Re: em driver, 82574L chip, and possibly ASPM
Message-ID:  <4E1C9870.1070500@sepehrs.com>
In-Reply-To: <4E1438B8.9000409@sentex.net>
References:  <icgd44$89l$1@dough.gmane.org>	<AANLkTinO1yfN--_K63-yD1LY3wusOF7wB2wwG8DUd5Z4@mail.gmail.com>	<4D2C636B.5040003@sentex.net>	<AANLkTimFzYZOkwdExm5JPRB7BaN8Am8pPcgrMT0wVZqy@mail.gmail.com>	<4D3C4795.40205@sentex.net>	<4D42EA74.4090807@sentex.net>	<1296590190.2326.6.camel@hitfishpass-lx.corp.yahoo.com>	<AANLkTimdJNV4Hxm6%2Bi3uVa7es9Vu=TDAFBzfUycuM=sZ@mail.gmail.com>	<1296591565.2326.7.camel@hitfishpass-lx.corp.yahoo.com>	<AANLkTinD0q3r85fAj0Kju9Vc6fT-MVrR1LRczu_XaRW0@mail.gmail.com>	<AANLkTinAh1Hwf80ixVvQwk1DRZpvO26PMko3t94%2B5C0R@mail.gmail.com>	<1296597827.2326.12.camel@hitfishpass-lx.corp.yahoo.com>	<4D48C973.7080503@sentex.net>	<AANLkTinvEAe0b9vd5bvBUyhh8FO9uwXitTGFAEPCamWg@mail.gmail.com>	<4D49A26B.5050803@sentex.net>	<1296842996.2233.0.camel@hitfishpass-lx.corp.yahoo.com>	<AANLkTint=mMqGCK8vZbFpLsmgrcs20dHg7f8pV64d=U2@mail.gmail.com>	<4D4F3497.6050505@sentex.net> <4E141D01.3040203@sepehrs.com> <4E1438B8.9000409@sentex.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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?


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
>



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