Re: [Fwd: [E1000] NAPI re-insertion w/ changes]
From: Jeff Garzik <hidden>
Date: 2003-04-01 21:16:51
From: Jeff Garzik <hidden>
Date: 2003-04-01 21:16:51
On Tue, Apr 01, 2003 at 09:47:55AM -0800, Feldman, Scott wrote:
quoted
A better approximation I think but probably not the last...Thanks for you help guys! I broke NAPI (don't hate me) and then went on vacation, so I apologize for not responding sooner. I like what you've come up with here, so I'll turn the patch around for Jeff to update 2.5 e1000.quoted
+ e1000_clean_tx_irq(adapter); + e1000_clean_rx_irq(adapter, &work_done, work_to_do);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. Jeff