Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c82 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state() function
131 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_health_check_fatal_sensors()
133 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_SW_RESET) in mlx5_health_check_fatal_sensors()
261 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_error_sw_reset()
267 if (mlx5_get_nic_state(dev) != MLX5_NIC_IFC_DISABLED) { in mlx5_error_sw_reset()
269 mlx5_get_nic_state(dev), delay_ms); in mlx5_error_sw_reset()
284 u8 nic_interface = mlx5_get_nic_state(dev); in mlx5_handle_bad_state()
Dfw.c380 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_cmd_fast_teardown_hca()
386 if (mlx5_get_nic_state(dev) != MLX5_NIC_IFC_DISABLED) { in mlx5_cmd_fast_teardown_hca()
388 mlx5_get_nic_state(dev), delay_ms); in mlx5_cmd_fast_teardown_hca()
Dmlx5_core.h310 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev);