linux_dsm_epyc7002/drivers/net/ethernet/sfc
Edward Cree 3366463513 sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe
Use a bitmap to keep track of which partition types we've already seen;
 for duplicates, return -EEXIST from efx_ef10_mtd_probe_partition() and
 thus skip adding that partition.
Duplicate partitions occur because of the A/B backup scheme used by newer
 sfc NICs.  Prior to this patch they cause sysfs_warn_dup errors because
 they have the same name, causing us not to expose any MTDs at all.

Signed-off-by: Edward Cree <ecree@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2019-01-23 11:15:35 -08:00
..
falcon cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
bitfield.h
ef10_regs.h
ef10_sriov.c sfc: remove redundant variable old_vlan 2018-07-04 22:39:11 +09:00
ef10_sriov.h
ef10.c sfc: suppress duplicate nvmem partition types in efx_ef10_mtd_probe 2019-01-23 11:15:35 -08:00
efx.c sfc: Replace spin_is_locked() with lockdep 2018-11-12 09:06:22 -08:00
efx.h
enum.h
ethtool.c net: core: dev: Add extack argument to dev_open() 2018-12-06 13:26:06 -08:00
farch_regs.h
farch.c sfc: correctly initialise filter rwsem for farch 2018-06-30 21:13:37 +09:00
filter.h
io.h
Kconfig
Makefile net: ethernet: sfc: Make subdir logic consistent with other vendors 2018-07-05 20:05:54 +09:00
mcdi_mon.c
mcdi_pcol.h
mcdi_port.c
mcdi.c
mcdi.h
mtd.c
net_driver.h sfc: batch up RX delivery 2018-07-04 14:06:19 +09:00
nic.c cross-tree: phase out dma_zalloc_coherent() 2019-01-08 07:58:37 -05:00
nic.h
ptp.c
rx.c sfc: batch up RX delivery 2018-07-04 14:06:19 +09:00
selftest.c
selftest.h
siena_sriov.c
siena_sriov.h
siena.c
sriov.c
sriov.h
tx_tso.c
tx.c sfc: use the new __netdev_tx_sent_queue BQL optimisation 2018-11-08 20:01:29 -08:00
tx.h
vfdi.h
workarounds.h