Re: [openib-general] Re: LLTX and netif_stop_queue
From: Stephen Hemminger <hidden>
Date: 2005-01-20 00:46:14
From: Stephen Hemminger <hidden>
Date: 2005-01-20 00:46:14
On Wed, 19 Jan 2005 19:02:52 -0500 Jeff Garzik [off-list ref] wrote:
David S. Miller wrote:quoted
Usually we strive for BH disabling locks in order to decrease the amount of hard IRQ disabling time in the kernel. But here, as soon as we call into ->hard_start_xmit(), the driver typically turns hard IRQs off anyways.[...]quoted
Also, changing dev->xmit_lock to be IRQ disabling is not %100 trivial.Agreed on both counts...
But in the end it would be safer than the current LLTX usage in drivers which seems like it opening up problems. -- Stephen Hemminger [off-list ref]