]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:00:55 +0000 (22:00 +0800)
commitb6ca778b482b0eedacdd83395259cee1208fac87
tree0cb5299f8d455074550042e39e0fc93b41a097f7
parent3377ffe23d4afe2e6311edd5135eaa1bfd22c040
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.

(cherry picked from commit 634cdca5637475b74dbc7bd72208f5fdc5904d38)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe_dcb_82599.c
drivers/net/ixgbe/ixgbe_type.h