em driver, 82574L chip, and possibly ASPM

Hooman Fazaeli fazaeli at sepehrs.com
Tue Jul 12 18:54:55 UTC 2011


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
>


More information about the freebsd-net mailing list