ixgbe: Disable DCB and FCoE for X550EM_x and x550em_a
authorUsha Ketineni <usha.k.ketineni@intel.com>
Tue, 26 Apr 2016 12:00:26 +0000 (05:00 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 4 May 2016 07:24:32 +0000 (00:24 -0700)
commit8829009d2fd5683ed29418420b4883cf4782c85c
tree4c4f3a82b8b36ccf8eaa859921b520a8d37888be
parent2f8214fe6811a246265629d81af2313695c63f4d
ixgbe: Disable DCB and FCoE for X550EM_x and x550em_a

This patch adds IXGBE_FLAG_DCB_CAPABLE flag that is set
for all MACs other than X550EM_x and x550em_a. DCB and
FCoE is disabled for these MACS. DCB initialization
code is moved to a separate function.

Signed-off-by: Usha Ketineni <usha.k.ketineni@intel.com>
Tested-by: Ronald Bynoe <ronald.j.bynoe@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h