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)
commit41c4c2b50d52346bdc994bd0e0c92f07bb1bb1f8
tree951f75d75b4f5b6e9f0537a9ffbc0dbc049785a8
parent17daabb5e8db2b7de742f59dd73aa12550143e0d
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