From: Matt Carlson Date: Wed, 27 Jul 2011 14:20:52 +0000 (+0000) Subject: tg3: Add tx BD budgeting code X-Git-Tag: v3.1-rc1~130^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84b67b27e9531e9a70c9e8cd952d66c55f4d0ddb;p=pandora-kernel.git tg3: Add tx BD budgeting code As the driver breaks large skb fragments into smaller submissions to the hardware, there is a new danger that BDs might get exhausted before all fragments have been mapped. This patch adds code to make sure tx BDs aren't oversubscribed and flag the condition if it happens. Signed-off-by: Matt Carlson Reviewed-by: Michael Chan Signed-off-by: David S. Miller --- Reading git-diff-tree failed