IB/mlx5: Add support for 800G_8X lane speed
authorPatrisious Haddad <phaddad@nvidia.com>
Wed, 20 Sep 2023 10:07:42 +0000 (13:07 +0300)
committerLeon Romanovsky <leon@kernel.org>
Tue, 26 Sep 2023 09:38:46 +0000 (12:38 +0300)
commit948f0bf5ad6ac1e5f19f6aa8e7da4a950d66b661
treed71e5f20edf9e85cb4013fc3fc5f464d92765864
parent561b4a3ac65597c5eca62c91260240a47c88b3da
IB/mlx5: Add support for 800G_8X lane speed

Add a check for 800G_8X speed when querying PTYS and report it back
correctly when needed.

Signed-off-by: Patrisious Haddad <phaddad@nvidia.com>
Reviewed-by: Mark Zhang <markzhang@nvidia.com>
Link: https://lore.kernel.org/r/26fd0b6e1fac071c3eb779657bb3d8ba47f47c4f.1695204156.git.leon@kernel.org
Reviewed-by: Jacob Keller <jacob.e.keller@intel.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/main.c
drivers/net/ethernet/mellanox/mlx5/core/port.c
include/linux/mlx5/port.h