Skip to content

Add support for active width and speed for RoCE

Leon Romanovsky linux-rdma 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3IB/core: Add HDR speed enumdrivers/infiniband/core/sysfs.c include/rdma/ib_verbs.h+6 -10 replies
2/3IB/mlx5: Set mlx5_query_roce_port's return value to voiddrivers/infiniband/hw/mlx5/main.c+10 -101 reply
3/3IB/mlx5: Add support for active_width and active_speed in RoCEdrivers/infiniband/hw/mlx5/main.c+68 -50 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH rdma-next 0/3] Add support for active width and speed for RoCE

Hi Doug,

This series from Noa replaces the current hard-coded active speed and width reported for RoCE in the mlx5 driver.

Two preliminary commits were needed for this change:
1. As a part of proper translation of the ib_port_spped enum, the IB_SPEED_HDR enum entry was added.
2. Set mlx5_query_roce_port's return value to void, since in case of an error, the properties reported back to the user are zeroed.

It is based on k.o/for-4.12 branch.

Thanks,
Noa and Leon.

Noa Osherovich (3):
IB/core: Add HDR speed enum
IB/mlx5: Set mlx5_query_roce_port's return value to void IB/mlx5: Add support for active_width and active_speed in RoCE

 drivers/infiniband/core/sysfs.c   |  4 ++
 drivers/infiniband/hw/mlx5/main.c | 89 +++++++++++++++++++++++++++++++++------
 include/rdma/ib_verbs.h           |  3 +-
 3 files changed, 82 insertions(+), 14 deletions(-)

--
2.12.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html