net/ice/base: adjust DCB INIT for SW mode
authorQi Zhang <qi.z.zhang@intel.com>
Thu, 29 Aug 2019 02:36:07 +0000 (10:36 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 7 Oct 2019 13:00:53 +0000 (15:00 +0200)
commit99c1bd25bd016a10e3ae6d20a563f2a94706ca17
tree52242929b184a556686d89b5666659fcd2bbd74b
parent0f11bdc08f103b6f4843051418e2ee02251451c4
net/ice/base: 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>
Signed-off-by: Paul M Stillwell Jr <paul.m.stillwell.jr@intel.com>
Signed-off-by: Qi Zhang <qi.z.zhang@intel.com>
Acked-by: Xiaolong Ye <xiaolong.ye@intel.com>
drivers/net/ice/base/ice_dcb.c