From cf9b99be6053b2abdd58694b1d64ff924f6dcb0e Mon Sep 17 00:00:00 2001 From: Avinash Repaka Date: Tue, 26 Sep 2017 14:20:17 -0700 Subject: [PATCH] RDS: IB: Change the proxy qp's path_mtu to IB_MTU_256 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The path_mtu of proxy qp of RDS is currently set to IB_MTU_4096, but it doesn't have much relevance, since the proxy qp is used only for registration and invalidation of MRs. For the proxy qp to work in most environments, this patch changes the path_mtu to IB_MTU_256. Orabug: 26864694 Suggested-by: Parav Pandit Signed-off-by: Avinash Repaka Reviewed-by: Wei Lin Guay Reviewed-by: HÃ¥kon Bugge --- net/rds/ib_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/rds/ib_cm.c b/net/rds/ib_cm.c index f2d409496073..5e476d971bf2 100644 --- a/net/rds/ib_cm.c +++ b/net/rds/ib_cm.c @@ -1537,7 +1537,7 @@ int rds_ib_setup_fastreg(struct rds_ib_device *rds_ibdev) /* Use modify_qp verb to change the state from INIT to RTR */ memset(&qp_attr, 0, sizeof(qp_attr)); qp_attr.qp_state = IB_QPS_RTR; - qp_attr.path_mtu = IB_MTU_4096; + qp_attr.path_mtu = IB_MTU_256; qp_attr.dest_qp_num = rds_ibdev->fastreg_qp->qp_num; qp_attr.rq_psn = 1; qp_attr.ah_attr.ah_flags = IB_AH_GRH; -- 2.50.1