i40e: Allow disabling FW LLDP on X722 devices
authorPatryk Małek <patryk.malek@intel.com>
Tue, 30 Oct 2018 17:50:47 +0000 (10:50 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 14 Nov 2018 18:56:33 +0000 (10:56 -0800)
commit5734fe87486e858124ec30d73be0a265e02c042c
treecfe62bbebcf8b24482e91041d716bb99fdc2ba40
parentc95cb7b25f25b8145407cf89ae45dfac113760e4
i40e: Allow disabling FW LLDP on X722 devices

This patch allows disabling FW LLDP agent on X722 devices.
It also changes a source of information for this feature from
pf->hw_features to pf->hw.flags which are set in i40e_init_adminq.

Signed-off-by: Patryk Małek <patryk.malek@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e.h
drivers/net/ethernet/intel/i40e/i40e_common.c
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
drivers/net/ethernet/intel/i40e/i40e_main.c