ice: Treat DCBx state NOT_STARTED as valid
authorDave Ertman <david.m.ertman@intel.com>
Mon, 29 Jul 2019 09:04:46 +0000 (02:04 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Aug 2019 16:55:55 +0000 (09:55 -0700)
commit64bcaec64284e08430db5f00944443ec41a86df2
treeb22245cbb53106613feb514140ac5fed9bf57310
parentda4a9e73d8a58eccef93682c9f2d910c346d2c1e
ice: Treat DCBx state NOT_STARTED as valid

When a port is not cabled, but DCBx is enabled in the
firmware, the status of DCBx will be NOT_STARTED.  This
is a valid state for FW enabled and should not be
treated as a is_fw_lldp true automatically.

Add the code to treat NOT_STARTED as another valid state.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ice/ice_dcb.c