Searched refs:mlx5_eswitch_mode (Results 1 – 6 of 6) 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()
224 eswitch_mode = mlx5_eswitch_mode(dev->priv.eswitch); in mlx5_devlink_fs_mode_validate()
2442 u8 mlx5_eswitch_mode(struct mlx5_eswitch *esw) in mlx5_eswitch_mode() function2446 EXPORT_SYMBOL_GPL(mlx5_eswitch_mode);
3138 if (!MLX5_ESWITCH_MANAGER(mdev) || mlx5_eswitch_mode(esw) == MLX5_ESWITCH_OFFLOADS) in mlx5e_modify_admin_state()5499 mlx5_eswitch_mode(mdev->priv.eswitch) == MLX5_ESWITCH_OFFLOADS) { in mlx5e_add()
274 #define esw_offloads_mode(esw) (mlx5_eswitch_mode(esw) == MLX5_ESWITCH_OFFLOADS)