On Thu, 23 February 2006 10:55:21 +0100, Lennert Buytenhek wrote: > On Thu, Feb 23, 2006 at 08:00:32AM +0100, Jörn Engel wrote: > > > > I am assuming the real goal is avoiding interrupts when > > > transmit completions can be reported without them on a > > > reasonably periodic basis. > > > > Not necessarily on a periodic basis. For some network driver I once > > worked on, the hardware simply had a ring buffer of n frames. > > Whenever a n+1th frame was transmitted, the first would be checked for > > completion. If it was completed, it was freed, else the new frame was > > dropped (and freed). > > This breaks socket buffer accounting.
Only if you keep the skb as well. Read the patch. The point is to free the skb but keep the packet data. Jörn -- Optimizations always bust things, because all optimizations are, in the long haul, a form of cheating, and cheaters eventually get caught. -- Larry Wall - 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