linux_dsm_epyc7002/drivers/infiniband/hw
Honggang Li 7672ed33c4 IB/mlx5: Set the default active rate and width to QDR and 4X
Before commit f1b65df5a2 ("IB/mlx5: Add support for active_width and
active_speed in RoCE"), the mlx5_ib driver set the default active_width
and active_speed to IB_WIDTH_4X and IB_SPEED_QDR.

When the RoCE port is down, the RoCE port does not negotiate the active
width with the remote side, causing the active width to be zero. When
running userspace ibstat to view the port status, ibstat will panic as it
reads an invalid width from sys file.

This patch restores the original behavior.

Fixes: f1b65df5a2 ("IB/mlx5: Add support for active_width and active_speed in RoCE").
Signed-off-by: Honggang Li <honli@redhat.com>
Reviewed-by: Hal Rosenstock <hal@mellanox.com>
Reviewed-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
2018-03-19 11:39:47 -06:00
..
bnxt_re Merge branch 'k.o/wip/dl-for-rc' into k.o/wip/dl-for-next 2018-03-14 19:28:58 -04:00
cxgb3 IB/cxgb3: remove cxio_dbg.c 2018-02-14 16:21:15 -07:00
cxgb4 RDMA/cxgb4: Use structs to describe the uABI instead of opencoding 2018-03-15 15:58:04 -06:00
hfi1 IB: remove duplicate header files 2018-03-13 16:46:03 -04:00
hns RDMA/hns: Use structs to describe the uABI instead of opencoding 2018-03-15 15:58:04 -06:00
i40iw i40iw: Tear-down connection after CQP Modify QP failure 2018-03-15 15:58:05 -06:00
mlx4 IB/mlx4: Add Scatter FCS support over WQ creation 2018-03-15 15:58:05 -06:00
mlx5 IB/mlx5: Set the default active rate and width to QDR and 4X 2018-03-19 11:39:47 -06:00
mthca
nes
ocrdma IB/ocrdma: Removed GID add/del null routines 2018-03-15 15:17:48 -06:00
qedr RDMA/qedr: eliminate duplicate barriers on weakly-ordered archs 2018-03-15 15:35:44 -06:00
qib infiniband: hw: Drop unnecessary continue 2018-03-06 16:00:51 -07:00
usnic IB/usnic: Delete an error message for a failed memory allocation in usnic_transport_init() 2018-02-28 13:57:39 -07:00
vmw_pvrdma RDMA/pvrdma: Properly annotate QP states 2018-03-14 15:34:25 -04:00
Makefile