OSDN Git Service

RDMA/ipoib: Add 50Gb and 100Gb link speeds to ethtool
authorMeir Lichtinger <meirl@mellanox.com>
Mon, 26 Oct 2020 13:29:04 +0000 (15:29 +0200)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 2 Nov 2020 19:48:56 +0000 (15:48 -0400)
commit235b6ac306951fd4e8c31861d79ca68a643cab8a
treec70b9f0e873e7afe9f02348ff184ab853c2c2cba
parent5c4193669b6f20b990f99cb8e15cdea80f865ac1
RDMA/ipoib: Add 50Gb and 100Gb link speeds to ethtool

The IBTA specification has new speeds - HDR and NDR, supporting signaling
rate of 50Gb and 100Gb respectively. ethtool support of ipoib driver
translates IB speed to signaling rate. Added translation of HDR and NDR IB
types to rates of 50Gb and 100Gb ethernet speed.

Link: https://lore.kernel.org/r/20201026132904.1338526-1-leon@kernel.org
Signed-off-by: Meir Lichtinger <meirl@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/ipoib/ipoib_ethtool.c