Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c78 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev) in mlx5_get_nic_state() function
120 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in check_fatal_sensors()
122 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_SW_RESET) in check_fatal_sensors()
243 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_error_sw_reset()
249 if (mlx5_get_nic_state(dev) != MLX5_NIC_IFC_DISABLED) { in mlx5_error_sw_reset()
251 mlx5_get_nic_state(dev), delay_ms); in mlx5_error_sw_reset()
266 u8 nic_interface = mlx5_get_nic_state(dev); in mlx5_handle_bad_state()
Dfw.c338 if (mlx5_get_nic_state(dev) == MLX5_NIC_IFC_DISABLED) in mlx5_cmd_fast_teardown_hca()
344 if (mlx5_get_nic_state(dev) != MLX5_NIC_IFC_DISABLED) { in mlx5_cmd_fast_teardown_hca()
346 mlx5_get_nic_state(dev), delay_ms); in mlx5_cmd_fast_teardown_hca()
Dmlx5_core.h244 u8 mlx5_get_nic_state(struct mlx5_core_dev *dev);