On Thu, 2004-12-02 at 10:23, Robert Olsson wrote:
> It can increase TX performance from 800 kpps to
> 1125128pps 576Mb/sec (576065536bps) errors: 0
> 1124946pps 575Mb/sec (575972352bps) errors: 0
These are the best numbers reported so far, right?
> And some of Scotts may still be used.
Did you try combining the two?
> +
> + if( adapter->tx_ring.next_to_use - adapter->tx_ring.next_to_clean > 80 )
> + e1000_clean_tx_ring(adapter);
> +
You want to use E1000_DESC_UNUSED here because of the ring wrap. ;-)
-scott
|