From: Vladislav Zolotarov Date: Mon, 26 Jan 2009 20:36:42 +0000 (-0800) Subject: bnx2x: tx_has_work should not wait for FW X-Git-Tag: v2.6.29-rc3~23^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e8b5fc514d1c7637cb4b8f77e7d8ac33ef66130c;p=pandora-kernel.git bnx2x: tx_has_work should not wait for FW The current tx_has_work waited until all packets sent by the driver are marked as completed by the FW. This is too greedy and it causes the bnx2x_poll to spin in vain. The driver should only check that all packets FW already completed are freed - only in unload flow the driver should make sure that transmit queue is empty Signed-off-by: Vladislav Zolotarov Signed-off-by: Eilon Greenstein Signed-off-by: David S. Miller --- Reading git-diff-tree failed