]> git.baikalelectronics.ru Git - kernel.git/commit
ice: configure software LLDP in ice_init_pf_dcb
authorPaul Greenwalt <paul.greenwalt@intel.com>
Wed, 6 Nov 2019 10:05:32 +0000 (02:05 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Nov 2019 20:02:50 +0000 (12:02 -0800)
commitabe3a8089d072f6132cad87a76e194b0ded0e222
treecf97c307898282be119a53c3005afb1aa5afe95f
parent7b26629d274270b2f3970d730f5f0f1209b8bd6f
ice: configure software LLDP in ice_init_pf_dcb

Move software LLDP configuration when FW DCBX is disabled to
ice_init_pf_dcb, since that is where the FW DCBX state is determined.
Remove this software LLDP configuration from ice_vsi_setup and
ice_set_priv_flags. Software configuration includes redirecting Rx LLDP
packets up the stack, when FW DCBX is not running.

Signed-off-by: Paul Greenwalt <paul.greenwalt@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
drivers/net/ethernet/intel/ice/ice_ethtool.c
drivers/net/ethernet/intel/ice/ice_lib.c