]> git.baikalelectronics.ru Git - kernel.git/commit
i40e: allow look-up of MAC address from Open Firmware or IDPROM
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 5 Apr 2017 11:50:57 +0000 (07:50 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 8 Apr 2017 09:53:49 +0000 (02:53 -0700)
commit1b5222166939b3ffe89ef1c3ddd3f09db84d5510
tree951f75d75b4f5b6e9f0537a9ffbc0dbc049785a8
parent18c93455288abec16065206a65cae6a122b771ad
i40e: allow look-up of MAC address from Open Firmware or IDPROM

Look up the MAC address from the eth_get_platform_mac_address() function
first before checking what the firmware provides. We already handle the
case of re-writing the MAC-VLAN filter, so there is no need to add extra
code for this. However, update the comment where we do this to indicate
that it does impact the Open Firmware MAC address case.

Change-ID: I73e59fbe0b0e7e6f3ee9f5170d0bd3a4d5faf4db
Signed-off-by: Jacob Keller <jacob.e.keller@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