Searched refs:mlx5_mode (Results 1 – 1 of 1) sorted by relevance
2223 static int esw_mode_from_devlink(u16 mode, u16 *mlx5_mode) in esw_mode_from_devlink() argument2227 *mlx5_mode = MLX5_ESWITCH_LEGACY; in esw_mode_from_devlink()2230 *mlx5_mode = MLX5_ESWITCH_OFFLOADS; in esw_mode_from_devlink()2239 static int esw_mode_to_devlink(u16 mlx5_mode, u16 *mode) in esw_mode_to_devlink() argument2241 switch (mlx5_mode) { in esw_mode_to_devlink()2255 static int esw_inline_mode_from_devlink(u8 mode, u8 *mlx5_mode) in esw_inline_mode_from_devlink() argument2259 *mlx5_mode = MLX5_INLINE_MODE_NONE; in esw_inline_mode_from_devlink()2262 *mlx5_mode = MLX5_INLINE_MODE_L2; in esw_inline_mode_from_devlink()2265 *mlx5_mode = MLX5_INLINE_MODE_IP; in esw_inline_mode_from_devlink()2268 *mlx5_mode = MLX5_INLINE_MODE_TCP_UDP; in esw_inline_mode_from_devlink()[all …]