Home
last modified time | relevance | path

Searched refs:mlx5_mode (Results 1 – 1 of 1) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Deswitch_offloads.c2223 static int esw_mode_from_devlink(u16 mode, u16 *mlx5_mode) in esw_mode_from_devlink() argument
2227 *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() argument
2241 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() argument
2259 *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 …]