ixgbe: DCB, do not call set_state() from IEEE mode
authorJohn Fastabend <john.r.fastabend@intel.com>
Thu, 4 Aug 2011 05:47:07 +0000 (05:47 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Sep 2011 16:05:49 +0000 (09:05 -0700)
commit4c09f3a0674119504af4e5805b327213055c412f
tree645b923b51696deee6066f5a7690b35700729f02
parentc6bda30a06d925b68d86e61c289d3ce980d4a36c
ixgbe: DCB, do not call set_state() from IEEE mode

The DCB CEE command set_state() will complete successfully
but is misleading because it enables IEEE mode. After
this patch the command is failed.

And IEEE PFC/ETS is managed from ieee paths now instead
of using CEE primitives.

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.c
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb.h
drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_nl.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c