net/mlx5: Add support to ext_* fields introduced in Port Type and Speed register
This patch exposes new link modes (including 50Gbps per lane), and ext_* fields which describes the new link modes in Port Type and Speed register (PTYS). Access functions, translation functions (speed <-> HW bits) and link max speed function were modified. Signed-off-by:Aya Levin <ayal@mellanox.com> Reviewed-by:
Eran Ben Elisha <eranbe@mellanox.com> Signed-off-by:
Saeed Mahameed <saeedm@mellanox.com>
Showing
- drivers/infiniband/hw/mlx5/main.c 2 additions, 1 deletiondrivers/infiniband/hw/mlx5/main.c
- drivers/net/ethernet/mellanox/mlx5/core/en/port.c 64 additions, 21 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en/port.c
- drivers/net/ethernet/mellanox/mlx5/core/en/port.h 4 additions, 4 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en/port.h
- drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 5 additions, 4 deletionsdrivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
- include/linux/mlx5/port.h 19 additions, 0 deletionsinclude/linux/mlx5/port.h
Loading
Please register or sign in to comment