]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Use devlink region_snapshot parameter
authorAlex Vesker <valex@mellanox.com>
Thu, 12 Jul 2018 12:13:18 +0000 (15:13 +0300)
committerDavid S. Miller <davem@davemloft.net>
Fri, 13 Jul 2018 00:37:13 +0000 (17:37 -0700)
commit22f1e70c6aae786c9d7cc28cc4958fcfdb2563aa
treea7261b42a7763bc92d15d0505281805d62c33376
parentd88f2d3b4a70dfdfad580bce63a13109a63a24c1
net/mlx4_core: Use devlink region_snapshot parameter

This parameter enables capturing region snapshot of the crspace
during critical errors. The default value of this parameter is
disabled, it can be enabled using devlink param commands.
It is possible to configure during runtime and also driver init.

Signed-off-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/crdump.c
drivers/net/ethernet/mellanox/mlx4/main.c
include/linux/mlx4/device.h