]> 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)
commit13049fb69201fd5ef487f8d47438254f49dc73d0
tree951f75d75b4f5b6e9f0537a9ffbc0dbc049785a8
parent0b895b1d0723687f52e2a32dc904523ada7c3272
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