netxen: optimize tx handling
authordhananjay@netxen.com <dhananjay@netxen.com>
Wed, 26 Dec 2007 18:23:58 +0000 (10:23 -0800)
committerJeff Garzik <jeff@garzik.org>
Sat, 12 Jan 2008 22:35:38 +0000 (17:35 -0500)
netxen driver allows limited number of threads simultaneously posting
skb's in tx ring. If transmit slot is unavailable, driver calls
schedule() or loops in xmit_frame().

This patch returns TX_BUSY and lets the stack reschedule the packet if
transmit slot is unavailable. Also removes unnecessary check for tx
timeout in the driver itself, the network stack does that anyway.

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>

No differences found