From: Yi Zou Date: Fri, 6 Nov 2009 12:56:00 +0000 (+0000) Subject: ixgbe: Fix checking TFCS register for TXOFF status when DCB is enabled X-Git-Tag: v2.6.32-rc7~58^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=26f23d82dd8eae6dcc2ab99c04a9256089576a73;p=pandora-kernel.git ixgbe: Fix checking TFCS register for TXOFF status when DCB is enabled When DCB is enabled, the ixgbe_check_tx_hang() should check the corresponding TC's TXOFF in TFCS based on the TC that the tx ring belongs to. Adds a function to map from the tx_ring hw reg_idx to the correspodning TC and read TFCS accordingly. Signed-off-by: Yi Zou Acked-by: Peter P Waskiewicz Jr Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed