]> git.baikalelectronics.ru Git - kernel.git/commit
ice: Account for all states of FW DCBx and LLDP
authorDave Ertman <david.m.ertman@intel.com>
Mon, 29 Jul 2019 09:04:44 +0000 (02:04 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 23 Aug 2019 16:44:48 +0000 (09:44 -0700)
commitc2592a761f325d0a4524c5802b875caeea113170
tree961ec7c31972b949731d84bde10deebe8288a701
parent0b045879e6bad37476ae3c462674b4fcbe9d1d10
ice: Account for all states of FW DCBx and LLDP

Currently, only the DCBx status is taken into account to
determine if FW LLDP is possible.  But there are NVM version
coming out with DCBx enabled, and FW LLDP disabled.  This
is causing errors where the driver sees that DCBx is not
disabled, and then tries to register for LLDP MIB change
events, and fails.

Change the logic to detect both DCBx and LLDP states in the
FW engine.

Signed-off-by: Dave Ertman <david.m.ertman@intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@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_lib.c