ice: Adjust DCB INIT for SW mode
authorDave Ertman <david.m.ertman@intel.com>
Wed, 9 Oct 2019 14:09:45 +0000 (07:09 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 7 Nov 2019 00:41:45 +0000 (16:41 -0800)
commitb2883dfe1ffce63364ee8ba7476bcd0cf8a63009
tree0bf50ac639a6291706bfbdf1c2a01e5cc8b644a7
parentc6012ac1c35bc49fba0f133dffe233ae7d04a881
ice: Adjust DCB INIT for SW mode

Adjust ice_init_dcb to set the is_sw_lldp boolean
in the case where the FW has been detected to be
in an untenable state such that the driver
should forcibly make sure it is off.

This will ensure that the FW is in a known 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