[PATCH] IB/mlx5: Set the default active rate and width to QDR and 4X

2018-03-15 Thread Honggang LI
From: Honggang Li commit f1b65df5a232 ("IB/mlx5: Add support for active_width and active_speed in RoCE"). Before this patch applied, the mlx5_ib driver set default active_width and active_speed to IB_WIDTH_4X and IB_SPEED_QDR. When the RoCE port is down, the RoCE port did not negotiate the activ

Re: [PATCH] IB/mlx5: Set the default active rate and width to QDR and 4X

2018-03-16 Thread Hal Rosenstock
On 3/15/2018 10:37 PM, Honggang LI wrote: > From: Honggang Li > > commit f1b65df5a232 ("IB/mlx5: Add support for active_width and > active_speed in RoCE"). Before this patch applied, the mlx5_ib > driver set default active_width and active_speed to IB_WIDTH_4X > and IB_SPEED_QDR. > > When the Ro

Re: [PATCH] IB/mlx5: Set the default active rate and width to QDR and 4X

2018-03-18 Thread Noa Osherovich
On 3/16/2018 4:59 PM, Hal Rosenstock wrote: > On 3/15/2018 10:37 PM, Honggang LI wrote: >> From: Honggang Li >> >> commit f1b65df5a232 ("IB/mlx5: Add support for active_width and >> active_speed in RoCE"). Before this patch applied, the mlx5_ib >> driver set default active_width and active_speed t

Re: [PATCH] IB/mlx5: Set the default active rate and width to QDR and 4X

2018-03-19 Thread Jason Gunthorpe
On Fri, Mar 16, 2018 at 10:37:13AM +0800, Honggang LI wrote: > From: Honggang Li > > commit f1b65df5a232 ("IB/mlx5: Add support for active_width and > active_speed in RoCE"). Before this patch applied, the mlx5_ib > driver set default active_width and active_speed to IB_WIDTH_4X > and IB_SPEED_QD