From: Prashant Sreedharan Date: Tue, 5 Aug 2014 23:02:02 +0000 (-0700) Subject: tg3: Modify tg3_tso_bug() to handle multiple TX rings X-Git-Tag: omap-for-v3.17/fixes-against-rc2~149^2^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d8fdc95c60e90d84c8257a0067ff4b1729a3757;p=pandora-kernel.git tg3: Modify tg3_tso_bug() to handle multiple TX rings tg3_tso_bug() was originally designed to handle only HW TX ring 0, Commit d3f6f3a1d818410c17445bce4f4caab52eb102f1 ("tg3: Prevent page allocation failure during TSO workaround") changed the driver logic to use tg3_tso_bug() for all HW TX rings that are enabled. This patch fixes the regression by modifying tg3_tso_bug() to handle multiple HW TX rings. Signed-off-by: Prashant Sreedharan Signed-off-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed