diff options
author | Krishna Kumar <krkumar2@in.ibm.com> | 2008-01-30 12:30:16 +0530 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2008-02-11 10:44:28 -0500 |
commit | a8cc21f64648073e443365d113c55755b92622a6 (patch) | |
tree | bda4eacf003636fdf5418e777711cfd1f4e2a0f8 /drivers/net/dm9000.c | |
parent | 3c34ac36ac1084e571ef9b6fb1d6a5b10ccc1fd0 (diff) | |
download | op-kernel-dev-a8cc21f64648073e443365d113c55755b92622a6.zip op-kernel-dev-a8cc21f64648073e443365d113c55755b92622a6.tar.gz |
Optimize cxgb3 xmit path (a bit)
1. Add common code for stopping queue.
2. No need to call netif_stop_queue followed by netif_wake_queue (and
infact a netif_start_queue could have been used instead), instead
call stop_queue if required, and remove code under USE_GTS macro.
3. There is no need to check for netif_queue_stopped, as the network
core guarantees that for us (I am sure every driver could remove
that check, eg e1000 - I have tested that path a few billion times
with about a few hundred thousand qstops but the condition never
hit even once).
Signed-off-by: Krishna Kumar <krkumar2@in.ibm.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/dm9000.c')
0 files changed, 0 insertions, 0 deletions