]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5: Add Crdump support
authorAlex Vesker <valex@mellanox.com>
Tue, 17 Jul 2018 08:18:26 +0000 (11:18 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 13 Jun 2019 20:23:17 +0000 (13:23 -0700)
commit8b9d8baae1de7400f19058020ee8f0f27d436687
tree078a2be92ab8c9ac9a6e612595b0d3c77ad3a567
parentb25bbc2f24dcab9cd186ef4003c39bf51ad0454c
net/mlx5: Add Crdump support

Crdump allows the driver to retrieve a dump of the FW PCI crspace.
This is useful in case of catastrophic issues which may require FW
reset. The crspace dump can be used for later debug.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Reviewed-by: Feras Daoud <ferasda@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/diag/crdump.c [new file with mode: 0644]
drivers/net/ethernet/mellanox/mlx5/core/lib/mlx5.h
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/driver.h