]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add support to ext_* fields introduced in Port Type and Speed register
authorAya Levin <ayal@mellanox.com>
Wed, 13 Feb 2019 06:55:45 +0000 (22:55 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 14 Feb 2019 20:14:42 +0000 (12:14 -0800)
commitd6e58cd2684356c01d043893c879b4e113de501f
tree5965c4356a9b5ba8de5c2877364c63f99e490dfe
parentd67b09b69c6ebeab211f6d52fe1260a37f57b7d9
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>
drivers/infiniband/hw/mlx5/main.c
drivers/net/ethernet/mellanox/mlx5/core/en/port.c
drivers/net/ethernet/mellanox/mlx5/core/en/port.h
drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c
include/linux/mlx5/port.h