OSDN Git Service

i40e: Log disable-fw-lldp flag change by ethtool
authorSlawomir Laba <slawomirx.laba@intel.com>
Tue, 2 Jul 2019 12:22:53 +0000 (08:22 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 5 Aug 2019 18:42:05 +0000 (11:42 -0700)
commitd9f78ceb8ffacb825b1660a510ceb04258653615
tree9a5ff5b9b9e70232c31698cdf6f6c783c211cb35
parentf21fa0606c383e8c7289ad89b4a610b441707d08
i40e: Log disable-fw-lldp flag change by ethtool

Add logging for disable-fw-lldp flag by ethtool. Added check
for I40E_FLAG_DISABLE_FW_LLDP and logging state in dmesg.
Without this commit there was no clear statement in dmesg
about FW LLDP state in dmesg.

Signed-off-by: Slawomir Laba <slawomirx.laba@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_main.c