]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
i40e: Check for LLDP AdminStatus before querying DCBX
authorNeerav Parikh <neerav.parikh@intel.com>
Wed, 12 Nov 2014 00:18:30 +0000 (00:18 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 18 Nov 2014 09:09:06 +0000 (01:09 -0800)
commite1c4751ee22f5d5f6f6cfcb70614e18e4218892e
tree9d6d032ef4ea84dd1851de599e59b8fed8932137
parent9fa61dd2153a4ff3a57891d4866a2595eb9ac81a
i40e: Check for LLDP AdminStatus before querying DCBX

This patch adds a check whether LLDP Agent's default AdminStatus is
enabled or disabled on a given port. If it is disabled then it sets
the DCBX status to disabled as well; and would not query firmware for
any DCBX configuration data.

Change-ID: I73c0b9f0adbf4cae177d14914b20a48c9a8f50fd
Signed-off-by: Neerav Parikh <neerav.parikh@intel.com>
Tested-By: Jack Morgan <jack.morgan@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_dcb.c
drivers/net/ethernet/intel/i40e/i40e_prototype.h
drivers/net/ethernet/intel/i40e/i40e_type.h