From: John Fastabend Date: Mon, 23 Apr 2012 22:27:28 +0000 (+0000) Subject: ixgbe: dcb: IEEE PFC stats and reset logic incorrect X-Git-Tag: v3.5-rc1~109^2~159^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e1abc1bb85549ed5a01a7f49a488002dbe52486c;p=pandora-kernel.git ixgbe: dcb: IEEE PFC stats and reset logic incorrect PFC stats are only tabulated when PFC is enabled. However in IEEE mode the ieee_pfc pfc_tc bits were not checked and the calculation was aborted. This results in statistics not being reported through ethtool and possible a false Tx hang occurring when receiving pause frames. Signed-off-by: John Fastabend Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed