netdev
[Top] [All Lists]

RE: [Fwd: [E1000] NAPI re-insertion w/ changes]

To: Jeff Garzik <jgarzik@xxxxxxxxx>
Subject: RE: [Fwd: [E1000] NAPI re-insertion w/ changes]
From: "Feldman, Scott" <scott.feldman@xxxxxxxxx>
Date: Tue, 1 Apr 2003 13:22:15 -0800
Cc: Robert Olsson <Robert.Olsson@xxxxxxxxxxx>, Jason Lunz <lunz@xxxxxxxxxxxx>, netdev@xxxxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
> > Just curious, why give priority to Tx over Rx?
> 
> TX frees skbs, RX allocates skbs.
> 
> You lessen the chance of allocation failure or "additional 
> work" being performed by the allocator when you do it in this order.

At the expense of Rx latency.  I suppose the best would be:

rx_clean
tx_clean
rx_alloc

-scott

<Prev in Thread] Current Thread [Next in Thread>