ixgbe: DCB, PFC not cleared until reset occurs
authorJohn Fastabend <john.r.fastabend@intel.com>
Thu, 10 Mar 2011 12:06:12 +0000 (12:06 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 12 Mar 2011 12:15:35 +0000 (04:15 -0800)
commit1f4a0244ff002672be855ff2eaa4a29a63d42d42
tree9d122241efafdb5a09e718c45c7c5bdd95194b2b
parentff4ab2061199cdb938282d302d5044b1858e28c8
ixgbe: DCB, PFC not cleared until reset occurs

The PFC configuration is not cleared until the device is reset. This
has not been a problem because setting DCB attributes forced a
hardware reset. Now that we no longer require this reset to occur
PFC remains configured even after being disabled until the
device is reset.

This removes a goto in the PFC hardware set routines for 82598 and
82599 devices that was short circuiting the clear.

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/ixgbe/ixgbe_dcb_82598.c
drivers/net/ixgbe/ixgbe_dcb_82599.c