From: Eric Dumazet <[EMAIL PROTECTED]>
Date: Wed, 24 Aug 2005 01:10:44 +0200

> Looking at tg3_tx() more closely, I am not convinced it really needs
> to lock tp->tx_lock during the loop.  tp->tx_cons (swidx) is changed
> in this function only, and could be changed to an atomic_t

It's one idea, bnx2.c does something similar.  Don't look at the trick
acenic.c uses, that deadlocks the system if the chip should stop
processing TX packets for some reason.
-
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

Reply via email to