aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/pasemi_mac.c
diff options
context:
space:
mode:
authordhananjay@netxen.com <dhananjay@netxen.com>2007-12-26 10:23:58 -0800
committerJeff Garzik <jeff@garzik.org>2008-01-12 17:35:38 -0500
commit53a01e00f8c78bc5875e09aca7749ea54bb09798 (patch)
tree00e5edaaf2d51d406bea63afd26dc41748c193f2 /drivers/net/pasemi_mac.c
parent72b0a7a8a40a50cf2eab42fd6a56e04b05090434 (diff)
netxen: optimize tx handling
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>
Diffstat (limited to 'drivers/net/pasemi_mac.c')
0 files changed, 0 insertions, 0 deletions