]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: only check pfc bits in hang logic if pfc is enabled
authorJohn Fastabend <john.r.fastabend@intel.com>
Thu, 3 Jun 2010 17:03:45 +0000 (17:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 4 Jun 2010 22:56:00 +0000 (15:56 -0700)
commita9b381ab01bf786c0a93b50fb5845446ee3f6bf9
tree8faf60448253ee555d8ff466f0a62eb6e3c743ee
parent123e77cd80d1008acf3d212917a975a58c971c2f
ixgbe: only check pfc bits in hang logic if pfc is enabled

Only check pfc bits in hang logic if PFC is enabled.  Previously,
if DCB was enabled but PFC was disabled the incorrect pause
bits would be checked.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Acked-by: Don Skidmore <donald.c.skidmore@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c