mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-17 20:54:10 +00:00
net/mlx5e: IPoIB, Add support for XDR speed
Add XDR IB PTYS coding and XDR speed 200Gbps. Signed-off-by: Dragos Tatulea <dtatulea@nvidia.com> Reviewed-by: Tariq Toukan <tariqt@nvidia.com> Reviewed-by: Gal Pressman <gal@nvidia.com> Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
This commit is contained in:
parent
7eef93003e
commit
ce231772da
1 changed files with 2 additions and 0 deletions
|
@ -172,6 +172,7 @@ enum mlx5_ptys_rate {
|
|||
MLX5_PTYS_RATE_EDR = 1 << 5,
|
||||
MLX5_PTYS_RATE_HDR = 1 << 6,
|
||||
MLX5_PTYS_RATE_NDR = 1 << 7,
|
||||
MLX5_PTYS_RATE_XDR = 1 << 8,
|
||||
};
|
||||
|
||||
static inline int mlx5_ptys_rate_enum_to_int(enum mlx5_ptys_rate rate)
|
||||
|
@ -185,6 +186,7 @@ static inline int mlx5_ptys_rate_enum_to_int(enum mlx5_ptys_rate rate)
|
|||
case MLX5_PTYS_RATE_EDR: return 25000;
|
||||
case MLX5_PTYS_RATE_HDR: return 50000;
|
||||
case MLX5_PTYS_RATE_NDR: return 100000;
|
||||
case MLX5_PTYS_RATE_XDR: return 200000;
|
||||
default: return -1;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue