Searched refs:nic_mode (Results 1 – 1 of 1) sorted by relevance
338 u8 nic_mode = mlx5_get_nic_state(dev); in mlx5_handle_bad_state() local340 if (nic_mode == MLX5_NIC_IFC_SW_RESET) { in mlx5_handle_bad_state()356 mlx5_core_warn(dev, "NIC mode %d\n", nic_mode); in mlx5_handle_bad_state()372 u8 nic_mode; in health_recover() local388 nic_mode = mlx5_get_nic_state(dev); in health_recover()389 while (nic_mode != MLX5_NIC_IFC_DISABLED && in health_recover()392 nic_mode = mlx5_get_nic_state(dev); in health_recover()395 if (nic_mode != MLX5_NIC_IFC_DISABLED) { in health_recover()398 nic_mode); in health_recover()