mirror_ubuntu-kernels/drivers/net/ethernet
Sowmini Varadhan b499ffb0a2 i40e: Look up MAC address in Open Firmware or IDPROM
This is the i40e equivalent of commit c762dff24c ("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>
2016-01-08 01:12:47 -08:00
..
3com drivers/net: fix eisa_driver probe section mismatch 2015-12-14 00:24:22 -05:00
8390 mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
adaptec
adi mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
aeroflex mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
agere phy: Add an mdio_device structure 2016-01-07 14:31:26 -05:00
allwinner net: sun4i-emac: Properly free resources on probe failure and remove 2015-10-21 19:47:45 -07:00
alteon
altera phy: Add an mdio_device structure 2016-01-07 14:31:26 -05:00
amd phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
apm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-12-17 22:08:28 -05:00
apple
arc
atheros ethernet/atheros/alx: sanitize buffer sizing and padding 2016-01-06 15:05:25 -05:00
aurora ethernet: aurora: AURORA_NB8800 should depend on HAS_DMA 2015-12-07 13:54:35 -05:00
broadcom phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
brocade
cadence net: macb: Add NP4 macb config using USRIO_DISABLED 2016-01-07 16:26:36 -05:00
calxeda
cavium Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-12-17 22:08:28 -05:00
chelsio Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-01-06 22:54:18 -05:00
cirrus
cisco net: provide generic busy polling to all NAPI drivers 2015-11-18 16:17:42 -05:00
davicom
dec drivers/net: fix eisa_driver probe section mismatch 2015-12-14 00:24:22 -05:00
dlink dl2k: Implement suspend 2015-11-20 14:48:27 -05:00
emulex Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-12-31 18:20:10 -05:00
ezchip net: ezchip: fix address space confusion in nps_enet.c 2015-12-08 22:58:01 -05:00
faraday phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
freescale phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
fujitsu
hisilicon phy: Add an mdio_device structure 2016-01-07 14:31:26 -05:00
hp drivers/net: fix eisa_driver probe section mismatch 2015-12-14 00:24:22 -05:00
i825xx
ibm Driver for IBM System i/p VNIC protocol 2015-12-28 00:12:13 -05:00
intel i40e: Look up MAC address in Open Firmware or IDPROM 2016-01-08 01:12:47 -08:00
marvell phy: Add an mdio_device structure 2016-01-07 14:31:26 -05:00
mellanox mlxsw: core: remove an unnecessary condition 2016-01-06 15:07:47 -05:00
micrel Merge remote-tracking branches 'spi/topic/omap-100k', 'spi/topic/omap-uwire', 'spi/topic/owner', 'spi/topic/pxa' and 'spi/topic/pxa2xx' into spi-next 2015-11-04 11:02:12 +00:00
microchip net: encx24j600: move rev announcement to probe function 2015-11-20 10:45:20 -05:00
moxa
myricom net: provide generic busy polling to all NAPI drivers 2015-11-18 16:17:42 -05:00
natsemi natsemi: add checks for dma mapping errors 2015-12-19 12:58:46 -05:00
neterion drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
netronome nfp: call netif_carrier_off() during init 2015-12-18 15:31:36 -05:00
nuvoton
nvidia forcedeth: fix unilateral interrupt disabling in netpoll path 2015-10-27 19:45:23 -07:00
nxp mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
octeon drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
oki-semi net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK 2015-12-15 16:50:08 -05:00
packetengines
pasemi
qlogic Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2016-01-06 22:54:18 -05:00
qualcomm net: qca_spi: fix transmit queue timeout handling 2015-12-06 12:02:24 -05:00
rdc mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
realtek r8169:Correct the way of setting RTL8168DP ephy 2016-01-04 16:50:49 -05:00
renesas mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
rocker net: add netif_tx_napi_add() 2015-11-18 16:17:41 -05:00
samsung phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
seeq
sfc sfc: Downgrade or remove some error messages 2015-12-23 22:06:39 -05:00
sgi
silan
sis
smsc phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
stmicro phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
sun drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
synopsys mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
tehuti drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
ti phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
tile tilepro: use to_delayed_work 2016-01-04 16:07:16 -05:00
toshiba mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
tundra
via via-velocity: unconditionally drop frames with bad l2 length 2015-11-17 14:37:16 -05:00
wiznet
xilinx phy: Add an mdio_device structure 2016-01-07 14:31:26 -05:00
xircom
xscale
dnet.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
dnet.h
ec_bhf.c
ethoc.c phy: Add API for {un}registering an mdio device to a bus. 2016-01-07 14:31:26 -05:00
fealnx.c
jme.c net: Rename NETIF_F_ALL_CSUM to NETIF_F_CSUM_MASK 2015-12-15 16:50:08 -05:00
jme.h
Kconfig Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-12-03 21:09:12 -05:00
korina.c
lantiq_etop.c mdio: Move allocation of interrupts into core 2016-01-07 14:31:26 -05:00
Makefile Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-12-03 21:09:12 -05:00
netx-eth.c