linux/drivers/net/ethernet/mellanox/mlx4
Jacob Keller a0a09f6bb2 devlink: convert snapshot destructor callback to region op
It does not makes sense that two snapshots for a given region would use
different destructors. Simplify snapshot creation by adding
a .destructor op for regions.

This operation will replace the data_destructor for the snapshot
creation, and makes snapshot creation easier.

Noticed-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2020-03-26 19:39:26 -07:00
..
alloc.c mellanox: Switch to bitmap_zalloc() 2019-03-04 10:19:33 -08:00
catas.c mlx4: Split restart_one into two functions 2019-09-13 22:11:14 +02:00
cmd.c drivers: Remove explicit invocations of mmiowb() 2019-04-08 12:01:02 +01:00
cq.c net/mlx4_core: Fix error handling when initializing CQ bufs in the driver 2019-01-24 21:48:26 -08:00
crdump.c devlink: convert snapshot destructor callback to region op 2020-03-26 19:39:26 -07:00
en_clock.c
en_cq.c net/mlx4_en: remove fallback after kzalloc_node() 2018-12-17 11:18:02 -08:00
en_dcb_nl.c
en_ethtool.c net: mlx4: reject unsupported coalescing params 2020-03-10 16:28:53 -07:00
en_main.c
en_netdev.c mlx4: use new txqueue timeout argument 2019-12-12 21:38:57 -08:00
en_port.c
en_port.h
en_resources.c
en_rx.c net/mlx4_en: fix a memory leak bug 2019-08-13 19:42:43 -07:00
en_selftest.c
en_tx.c net: Use skb accessors in network drivers 2019-07-22 20:47:56 -07:00
eq.c ethernet: remove redundant memset 2019-07-15 11:06:27 -07:00
fw_qos.c
fw_qos.h
fw.c net/mlx4_core: Add masking for a few queries on HCA caps 2019-01-24 21:48:26 -08:00
fw.h
icm.c net/mlx4: replace pci_{,un}map_sg with dma_{,un}map_sg 2019-01-07 05:14:17 -08:00
icm.h net/mlx4: Get rid of page operation after dma_alloc_coherent 2019-01-07 05:14:17 -08:00
intf.c
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
main.c devlink: disallow reload operation during device cleanup 2019-11-09 19:38:36 -08:00
Makefile
mcg.c net: mlx4: Use scnprintf() for avoiding potential buffer overflow 2020-03-15 17:06:22 -07:00
mlx4_en.h net: remove 'fallback' argument from dev->ndo_select_queue() 2019-03-20 11:18:55 -07:00
mlx4_stats.h
mlx4.h mlx4: Split restart_one into two functions 2019-09-13 22:11:14 +02:00
mr.c
pd.c
port.c net/mlx4_en: ethtool, Remove unsupported SFP EEPROM high pages query 2019-05-20 11:33:57 -07:00
profile.c
qp.c
reset.c
resource_tracker.c net/mlx4_core: Dynamically set guaranteed amount of counters per VF 2019-10-29 16:29:43 -07:00
sense.c
srq.c