Searched refs:mlx5_mode (Results 1 – 1 of 1) sorted by relevance
2196 u8 prev_mlx5_mode, mlx5_mode = MLX5_INLINE_MODE_L2; in mlx5_eswitch_inline_mode_get() local2209 mlx5_mode = MLX5_INLINE_MODE_NONE; in mlx5_eswitch_inline_mode_get()2212 mlx5_mode = MLX5_INLINE_MODE_L2; in mlx5_eswitch_inline_mode_get()2221 mlx5_query_nic_vport_min_inline(dev, vport->vport, &mlx5_mode); in mlx5_eswitch_inline_mode_get()2222 if (prev_mlx5_mode != mlx5_mode) in mlx5_eswitch_inline_mode_get()2224 prev_mlx5_mode = mlx5_mode; in mlx5_eswitch_inline_mode_get()2228 *mode = mlx5_mode; in mlx5_eswitch_inline_mode_get()3635 static int esw_mode_from_devlink(u16 mode, u16 *mlx5_mode) in esw_mode_from_devlink() argument3639 *mlx5_mode = MLX5_ESWITCH_LEGACY; in esw_mode_from_devlink()3642 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()[all …]