From: Krishna Kumar Date: Wed, 30 Jan 2008 07:00:16 +0000 (+0530) Subject: Optimize cxgb3 xmit path (a bit) X-Git-Tag: v2.6.25-rc2~2^2~31^2~35 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8cc21f64648073e443365d113c55755b92622a6;p=pandora-kernel.git 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 Signed-off-by: Jeff Garzik --- Reading git-diff-tree failed