diff options
author | Yi Zou <yi.zou@intel.com> | 2009-11-06 12:56:00 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-06 20:33:36 -0800 |
commit | 26f23d82dd8eae6dcc2ab99c04a9256089576a73 (patch) | |
tree | e6e45270aacab63c8127e73fc8a50eb88cc56fea /drivers/net/qlge | |
parent | b352e40da8977253f49850a24f6448653a459ac0 (diff) |
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 <yi.zou@intel.com>
Acked-by: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlge')
0 files changed, 0 insertions, 0 deletions