]> 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)
commit2a259d8ff494c2122876c093ea9e5e7e49a046e9
tree961ec7c31972b949731d84bde10deebe8288a701
parent07ad883c0de0c288575236f3f8d968970763b806
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