Searched refs:mlx5_eswitch_mode (Results 1 – 7 of 7) sorted by relevance
99 u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw);102 static inline u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_eswitch_mode() function
113 return mlx5_eswitch_mode(esw); in mlx5_ib_eswitch_mode()
2138 mlx5_eswitch_mode(dev->mdev->priv.eswitch) != in UVERBS_HANDLER()
229 eswitch_mode = mlx5_eswitch_mode(dev->priv.eswitch); in mlx5_devlink_fs_mode_validate()
2448 u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_eswitch_mode() function2452 EXPORT_SYMBOL_GPL(mlx5_eswitch_mode);
3152 if (!MLX5_ESWITCH_MANAGER(mdev) || mlx5_eswitch_mode(esw) == MLX5_ESWITCH_OFFLOADS) in mlx5e_modify_admin_state()5611 mlx5_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5e_add()
275 #define esw_offloads_mode(esw) (mlx5_eswitch_mode(esw) == MLX5_ESWITCH_OFFLOADS)