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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]     [Yosemite Photos]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux