net/ice/base: move LLDP function to common module
authorQi Zhang <qi.z.zhang@intel.com>
Wed, 1 Jul 2020 05:49:46 +0000 (13:49 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 7 Jul 2020 21:38:26 +0000 (23:38 +0200)
commit946a5337b23771a6879712ae715f9ddbaf07e267
tree973ff5a99364de4f318b161b0b331dd4ed8a383f
parent8921d08861c4ba2dcb0dfe50fbbc485559abd04c
net/ice/base: move LLDP function to common module

To implement a FW workaround for LFC, a set_local_mib must be
performed after every link up event.  For systems that do not
have DCB configured, we need to move the function
ice_aq_set_lldp_mib() from the DCB specific ice_dcb.c to
ice_common.c so that the driver always has access to this AQ
command.

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: Qiming Yang <qiming.yang@intel.com>
drivers/net/ice/base/ice_common.c
drivers/net/ice/base/ice_common.h
drivers/net/ice/base/ice_dcb.c
drivers/net/ice/base/ice_dcb.h