From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leon Romanovsky Subject: [PATCH rdma-next 0/3] Add support for active width and speed for RoCE Date: Thu, 20 Apr 2017 20:53:30 +0300 Message-ID: <20170420175333.7082-1-leon@kernel.org> Return-path: Sender: linux-rdma-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Doug Ledford Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-Id: linux-rdma@vger.kernel.org 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-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html