diff options
author | dhananjay@netxen.com <dhananjay@netxen.com> | 2007-12-26 10:23:58 -0800 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-01-12 17:35:38 -0500 |
commit | 53a01e00f8c78bc5875e09aca7749ea54bb09798 (patch) | |
tree | 00e5edaaf2d51d406bea63afd26dc41748c193f2 /include/asm-sparc/btfixup.h | |
parent | 72b0a7a8a40a50cf2eab42fd6a56e04b05090434 (diff) | |
download | kernel-crypto-53a01e00f8c78bc5875e09aca7749ea54bb09798.tar.gz kernel-crypto-53a01e00f8c78bc5875e09aca7749ea54bb09798.tar.xz kernel-crypto-53a01e00f8c78bc5875e09aca7749ea54bb09798.zip |
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 'include/asm-sparc/btfixup.h')
0 files changed, 0 insertions, 0 deletions