Searched refs:mlx5_mode (Results 1 – 1 of 1) sorted by relevance
2171 u8 prev_mlx5_mode, mlx5_mode = MLX5_INLINE_MODE_L2; in mlx5_eswitch_inline_mode_get() local2184 mlx5_mode = MLX5_INLINE_MODE_NONE; in mlx5_eswitch_inline_mode_get()2187 mlx5_mode = MLX5_INLINE_MODE_L2; in mlx5_eswitch_inline_mode_get()2196 mlx5_query_nic_vport_min_inline(dev, vport->vport, &mlx5_mode); in mlx5_eswitch_inline_mode_get()2197 if (prev_mlx5_mode != mlx5_mode) in mlx5_eswitch_inline_mode_get()2199 prev_mlx5_mode = mlx5_mode; in mlx5_eswitch_inline_mode_get()2203 *mode = mlx5_mode; in mlx5_eswitch_inline_mode_get()3417 static int esw_mode_from_devlink(u16 mode, u16 *mlx5_mode) in esw_mode_from_devlink() argument3421 *mlx5_mode = MLX5_ESWITCH_LEGACY; in esw_mode_from_devlink()3424 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()[all …]