]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: PFC not cleared on X540 devices
authorJohn Fastabend <john.r.fastabend@intel.com>
Thu, 21 Jul 2011 22:43:29 +0000 (22:43 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 29 Aug 2011 08:25:51 +0000 (01:25 -0700)
commit6cdc8f117835dc9a25109821fb38b30e413859d7
treebf76f800af306a4ce7878001c02d5971412178b2
parent53d2d421ca99cb0690c8f1da74c811d5934211b7
ixgbe: PFC not cleared on X540 devices

X540 devices do not clear PFC before sets. This results in
the device possibly responding to PFC frames that the user
has disabled. Although it would also be wrong for the peer
to be transmitting these frames. Now we clear the register
before set.

Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82599.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h