Home
last modified time | relevance | path

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

/drivers/net/ethernet/mellanox/mlx5/core/sf/
Ddevlink.c139 case MLX5_VHCA_STATE_ACTIVE: in mlx5_sf_to_devlink_state()
158 case MLX5_VHCA_STATE_ACTIVE: in mlx5_sf_to_devlink_opstate()
166 return sf->hw_state == MLX5_VHCA_STATE_ACTIVE || sf->hw_state == MLX5_VHCA_STATE_IN_USE; in mlx5_sf_is_active()
213 sf->hw_state = MLX5_VHCA_STATE_ACTIVE; in mlx5_sf_activate()
416 if (sf->hw_state == MLX5_VHCA_STATE_ACTIVE && new_state == MLX5_VHCA_STATE_IN_USE) in mlx5_sf_state_update_check()
419 if (sf->hw_state == MLX5_VHCA_STATE_IN_USE && new_state == MLX5_VHCA_STATE_ACTIVE) in mlx5_sf_state_update_check()
Dmlx5_ifc_vhca_event.h10 MLX5_VHCA_STATE_ACTIVE = 0x2, enumerator
/drivers/net/ethernet/mellanox/mlx5/core/sf/dev/
Ddev.c191 case MLX5_VHCA_STATE_ACTIVE: in mlx5_sf_dev_state_change_handler()
248 if (state != MLX5_VHCA_STATE_ACTIVE) in mlx5_sf_dev_add_active_work()