Searched refs:mlx5_mode (Results 1 – 3 of 3) sorted by relevance
50 void mlx5_sd_eswitch_mode_set(struct mlx5_core_dev *dev, u16 mlx5_mode);53 mlx5_sd_eswitch_mode_set(struct mlx5_core_dev *dev, u16 mlx5_mode) { return; } in mlx5_sd_eswitch_mode_set() argument
1048 void mlx5_sd_eswitch_mode_set(struct mlx5_core_dev *dev, u16 mlx5_mode) in mlx5_sd_eswitch_mode_set() argument1066 bool disconnect = (mlx5_mode == MLX5_ESWITCH_OFFLOADS); in mlx5_sd_eswitch_mode_set()1078 if (mlx5_mode == MLX5_ESWITCH_OFFLOADS) in mlx5_sd_eswitch_mode_set()
2299 u8 prev_mlx5_mode, mlx5_mode = MLX5_INLINE_MODE_L2; in mlx5_eswitch_inline_mode_get() local2312 mlx5_mode = MLX5_INLINE_MODE_NONE; in mlx5_eswitch_inline_mode_get()2315 mlx5_mode = MLX5_INLINE_MODE_L2; in mlx5_eswitch_inline_mode_get()2324 mlx5_query_nic_vport_min_inline(dev, vport->vport, &mlx5_mode); in mlx5_eswitch_inline_mode_get()2325 if (prev_mlx5_mode != mlx5_mode) in mlx5_eswitch_inline_mode_get()2327 prev_mlx5_mode = mlx5_mode; in mlx5_eswitch_inline_mode_get()2331 *mode = mlx5_mode; in mlx5_eswitch_inline_mode_get()4266 static int esw_mode_from_devlink(u16 mode, u16 *mlx5_mode) in esw_mode_from_devlink() argument4270 *mlx5_mode = MLX5_ESWITCH_LEGACY; in esw_mode_from_devlink()4274 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()[all …]