Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c77 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()
255 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_error_sw_reset()
261 if (mlx5_get_nic_state(dev) != MLX5_NIC_IFC_DISABLED) { in mlx5_error_sw_reset()
263 mlx5_get_nic_state(dev), delay_ms); in mlx5_error_sw_reset()
278 u8 nic_interface = mlx5_get_nic_state(dev); in mlx5_handle_bad_state()
Dfw.c347 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_cmd_fast_teardown_hca()
353 if (mlx5_get_nic_state(dev) != MLX5_NIC_IFC_DISABLED) { in mlx5_cmd_fast_teardown_hca()
355 mlx5_get_nic_state(dev), delay_ms); in mlx5_cmd_fast_teardown_hca()
Dmlx5_core.h248 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev);