freebsd-skq/sys/dev/mlx5/mlx5_core
hselasky d1efa6e93f Add kernel and userspace code to dump the firmware state of supported
ConnectX-4/5 devices in mlx5core.

The dump is obtained by reading a predefined register map from the
non-destructive crspace, accessible by the vendor-specific PCIe
capability (VSC). The dump is stored in preallocated kernel memory and
managed by the mlx5tool(8), which communicates with the driver using a
character device node.

The utility allows to store the dump in format
    <address> <value>
into a file, to reset the dump content, and to manually initiate the
dump.

A call to mlx5_fwdump() should be added at the places where a dump
must be fetched automatically. The most likely place is right before a
firmware reset request.

Submitted by:	kib@
MFC after:	1 week
Sponsored by:	Mellanox Technologies
2018-03-08 15:21:56 +00:00
..
fs_core.h Refactor the flowsteering APIs used by mlx5en(4). This change is needed by 2017-11-10 09:49:08 +00:00
mlx5_alloc.c Use the busdma API to allocate all DMA-able memory. 2017-01-27 11:46:55 +00:00
mlx5_cmd.c Add support for explicit congestion notification, ECN, to mlx5ib(4). 2018-03-08 11:23:14 +00:00
mlx5_core.h Add kernel and userspace code to dump the firmware state of supported 2018-03-08 15:21:56 +00:00
mlx5_cq.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_diagnostics.c Add support for reading advanced diagnostic counters. 2017-01-27 10:03:50 +00:00
mlx5_eq.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_fs_cmd.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_fs_tree.c Remove duplicate static function prototype to fix compilation of 2017-11-18 20:32:09 +00:00
mlx5_fw.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_fwdump_regmaps.c Add kernel and userspace code to dump the firmware state of supported 2018-03-08 15:21:56 +00:00
mlx5_fwdump.c Add kernel and userspace code to dump the firmware state of supported 2018-03-08 15:21:56 +00:00
mlx5_health.c Fix race between PCI error handlers and health work in mlx5core. 2018-03-08 09:58:41 +00:00
mlx5_mad.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_main.c Add kernel and userspace code to dump the firmware state of supported 2018-03-08 15:21:56 +00:00
mlx5_mcg.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_mr.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_pagealloc.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_pd.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_port.c Add support for per priority flow control, PFC, to mlx5en(4). 2018-03-08 11:40:39 +00:00
mlx5_qp.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_srq.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_transobj.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_uar.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_vport.c Use the autogenerated interface file for all commands in mlx5core. 2018-03-08 10:43:42 +00:00
mlx5_vsc.c Add vendor specific capability interface support in mlx5core. 2018-03-08 11:59:47 +00:00
mlx5_wq.c
transobj.h Add API functions to modify the transport interface send object, TIS, 2017-11-10 13:50:08 +00:00
wq.h