aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mlx4
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/mlx4')
-rw-r--r--include/linux/mlx4/device.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/mlx4/device.h b/include/linux/mlx4/device.h
index e3bfe76aea98..300b944e6e1e 100644
--- a/include/linux/mlx4/device.h
+++ b/include/linux/mlx4/device.h
@@ -852,6 +852,11 @@ struct mlx4_vf_dev {
852 u8 n_ports; 852 u8 n_ports;
853}; 853};
854 854
855struct mlx4_fw_crdump {
856 struct devlink_region *region_crspace;
857 struct devlink_region *region_fw_health;
858};
859
855enum mlx4_pci_status { 860enum mlx4_pci_status {
856 MLX4_PCI_STATUS_DISABLED, 861 MLX4_PCI_STATUS_DISABLED,
857 MLX4_PCI_STATUS_ENABLED, 862 MLX4_PCI_STATUS_ENABLED,
@@ -872,6 +877,7 @@ struct mlx4_dev_persistent {
872 u8 interface_state; 877 u8 interface_state;
873 struct mutex pci_status_mutex; /* sync pci state */ 878 struct mutex pci_status_mutex; /* sync pci state */
874 enum mlx4_pci_status pci_status; 879 enum mlx4_pci_status pci_status;
880 struct mlx4_fw_crdump crdump;
875}; 881};
876 882
877struct mlx4_dev { 883struct mlx4_dev {