> You could optimize this by getting HARD_TX_LOCK after the 
> check. I assume that netif_stop_subqueue (from another CPU) 
> would always be called by the driver xmit, and that is not 
> possible since we hold the __LINK_STATE_QDISC_RUNNING bit. 
> Does that sound correct?

Sorry for not responding sooner; Dave hit it on the head though with his
response.  I agree with your changes, and I'll incorporate them in the
lockless stack patches I've been working on (in the software queuing
mode).  Now if I could just find some time to finish them up and get
them out for review...

Thanks,

-PJ Waskiewicz
-
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