1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00
linux/drivers/net/ethernet/cisco/enic
Jakub Kicinski 41edfff572 ethernet: enic: use eth_hw_addr_set()
Commit 406f42fa0d ("net-next: When a bond have a massive amount
of VLANs...") introduced a rbtree for faster Ethernet address look
up. To maintain netdev->dev_addr in this tree we need to make all
the writes to it got through appropriate helpers.

Use a zero'ed array on the stack, then call eth_hw_addr_set().

Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-10-16 08:53:46 +01:00
..
cq_desc.h
cq_enet_desc.h
enic.h net: enic: Cure the enic api locking trainwreck 2020-09-29 14:02:53 -07:00
enic_api.c net: enic: Cure the enic api locking trainwreck 2020-09-29 14:02:53 -07:00
enic_api.h
enic_clsf.c drivers: net: Remove unnecessary semicolon 2019-03-01 23:13:49 -08:00
enic_clsf.h treewide: setup_timer() -> timer_setup() (2 field) 2017-11-21 15:57:09 -08:00
enic_dev.c
enic_dev.h
enic_ethtool.c net: cisco: Fix a function name in comments 2021-09-27 13:19:36 +01:00
enic_main.c ethernet: enic: use eth_hw_addr_set() 2021-10-16 08:53:46 +01:00
enic_pp.c ethernet: constify references to netdev->dev_addr in drivers 2021-10-14 09:22:11 -07:00
enic_pp.h
enic_res.c enic: fix UDP rss bits 2018-06-06 09:09:09 -04:00
enic_res.h ethernet: use core min/max MTU checking 2016-10-18 11:34:22 -04:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
rq_enet_desc.h
vnic_cq.c net: cisco: enic: simplify the return vnic_cq_alloc() 2020-12-09 17:05:37 -08:00
vnic_cq.h
vnic_dev.c enic: switch from 'pci_' to 'dma_' API 2020-09-06 12:52:19 -07:00
vnic_dev.h enic: fix UDP rss bits 2018-06-06 09:09:09 -04:00
vnic_devcmd.h net: cisco: Replace zero-length array with flexible-array member 2020-02-26 16:43:09 -08:00
vnic_enet.h enic: add devcmds for vxlan offload 2017-02-09 17:24:29 -05:00
vnic_intr.c
vnic_intr.h
vnic_nic.h enic: fix UDP rss bits 2018-06-06 09:09:09 -04:00
vnic_resource.h
vnic_rq.c net: cisco: enic: Replace GFP_ATOMIC with GFP_KERNEL 2018-08-04 13:08:06 -07:00
vnic_rq.h enic: Remove local ndo_busy_poll() implementation. 2017-02-03 17:28:21 -05:00
vnic_rss.h
vnic_stats.h
vnic_vic.c
vnic_vic.h net: cisco: Replace zero-length array with flexible-array member 2020-02-26 16:43:09 -08:00
vnic_wq.c net: cisco: enic: Replace GFP_ATOMIC with GFP_KERNEL 2018-08-04 13:08:06 -07:00
vnic_wq.h
wq_enet_desc.h