Home
last modified time | relevance | path

Searched refs:mlx5_get_nic_state (Results 1 – 3 of 3) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c70 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state() function
119 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_health_check_fatal_sensors()
121 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_SW_RESET) in mlx5_health_check_fatal_sensors()
249 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_error_sw_reset()
255 if (mlx5_get_nic_state(dev) != MLX5_NIC_IFC_DISABLED) { in mlx5_error_sw_reset()
257 mlx5_get_nic_state(dev), delay_ms); in mlx5_error_sw_reset()
272 u8 nic_interface = mlx5_get_nic_state(dev); in mlx5_handle_bad_state()
Dfw.c374 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_cmd_fast_teardown_hca()
380 if (mlx5_get_nic_state(dev) != MLX5_NIC_IFC_DISABLED) { in mlx5_cmd_fast_teardown_hca()
382 mlx5_get_nic_state(dev), delay_ms); in mlx5_cmd_fast_teardown_hca()
Dmlx5_core.h308 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev);