Home
last modified time | relevance | path

Searched refs:MLX5_ESWITCH_NONE (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/include/linux/mlx5/
Deswitch.h15 MLX5_ESWITCH_NONE, enumerator
104 return MLX5_ESWITCH_NONE; in mlx5_eswitch_mode()
/kernel/linux/linux-5.10/drivers/infiniband/hw/mlx5/
Dib_rep.h31 return MLX5_ESWITCH_NONE; in mlx5_ib_eswitch_mode()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch.c1558 WARN_ON_ONCE(esw->mode != MLX5_ESWITCH_NONE); in mlx5_eswitch_update_num_of_vfs()
1641 esw->mode = MLX5_ESWITCH_NONE; in mlx5_eswitch_enable_locked()
1667 if (esw->mode == MLX5_ESWITCH_NONE) { in mlx5_eswitch_enable()
1688 if (esw->mode == MLX5_ESWITCH_NONE) in mlx5_eswitch_disable_locked()
1703 esw->mode = MLX5_ESWITCH_NONE; in mlx5_eswitch_disable_locked()
1792 esw->mode = MLX5_ESWITCH_NONE; in mlx5_eswitch_init()
2450 return ESW_ALLOWED(esw) ? esw->mode : MLX5_ESWITCH_NONE; in mlx5_eswitch_mode()
2467 if ((dev0->priv.eswitch->mode == MLX5_ESWITCH_NONE && in mlx5_esw_lag_prereq()
2468 dev1->priv.eswitch->mode == MLX5_ESWITCH_NONE) || in mlx5_esw_lag_prereq()
Dlag.c295 roce_lag &= dev0->priv.eswitch->mode == MLX5_ESWITCH_NONE && in mlx5_do_bond()
296 dev1->priv.eswitch->mode == MLX5_ESWITCH_NONE; in mlx5_do_bond()
Deswitch_offloads.c1605 if (esw->mode == MLX5_ESWITCH_NONE) in mlx5_eswitch_inline_mode_get()
2489 return (esw->mode == MLX5_ESWITCH_NONE && in eswitch_devlink_esw_mode_check()