summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/intel/Makefile
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2015-12-07 15:06:34 -0500
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2016-01-08 01:12:47 -0800
commitb499ffb0a22c6cd3762b44fd6489f7384f40437d (patch)
tree5c011e3e070c77904fa45ee4c4c4e946f497496e /drivers/net/ethernet/intel/Makefile
parentefd8e39acc51cafe7dbc656ba63eea9034238ee7 (diff)
i40e: Look up MAC address in Open Firmware or IDPROM
This is the i40e equivalent of commit c762dff24c06 ("ixgbe: Look up MAC address in Open Firmware or IDPROM"). As with that fix, attempt to look up the MAC address in Open Firmware on systems that support it, and use IDPROM on SPARC if no OF address is found. In the case of the i40e there is an assumption that the default mac address has already been set up as the primary mac filter on probe, so if this filter is obtained from the Open Firmware or IDPROM, an explicit write is needed via i40e_aq_mac_address_write() and i40e_aq_add_macvlan() invocation. The I40E_FLAG_PF_MAC flag in the platform-private i40e_pf structure tracks whether a platform-specific mac address was found, in which case calls to i40e_aq_mac_address_write() and i40e_aq_add_macvlan() will be triggered. Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com> Acked-by: Shannon Nelson <shannon.nelson@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/ethernet/intel/Makefile')
0 files changed, 0 insertions, 0 deletions