From: Andi Kleen <[EMAIL PROTECTED]> Date: Thu, 24 Jan 2008 08:25:49 +0100
> > have done away with handling tx completion in the interrupt handler, and > > are instead handling them in the context of the transmit. The slow path, > > straggling transmit completions will be handled in the timer context. > > Ok -- hopefully you don't have bad corner cases from this when the pipe > is not fully filled and then causing longer latencies on completion. > Old NAPI sometimes suffered from such problems. BTW, such a TX completion timer will stall TCP sockets when the TX queue of the device is partially filled and then sending stops. TX ring SKB liberation really must be done in a very small finite amount of time in order to avoid this problem properly. Deferring it to HZ granular timers doesn't give a quick enough response, especially at high packet rates. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html