Skip to content

Commit cf9b99b

Browse files
Avinash RepakaLinuxMinion
authored andcommitted
RDS: IB: Change the proxy qp's path_mtu to IB_MTU_256
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 <[email protected]> Signed-off-by: Avinash Repaka <[email protected]> Reviewed-by: Wei Lin Guay <[email protected]> Reviewed-by: Håkon Bugge <[email protected]>
1 parent fe6a094 commit cf9b99b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

net/rds/ib_cm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1537,7 +1537,7 @@ int rds_ib_setup_fastreg(struct rds_ib_device *rds_ibdev)
15371537
/* Use modify_qp verb to change the state from INIT to RTR */
15381538
memset(&qp_attr, 0, sizeof(qp_attr));
15391539
qp_attr.qp_state = IB_QPS_RTR;
1540-
qp_attr.path_mtu = IB_MTU_4096;
1540+
qp_attr.path_mtu = IB_MTU_256;
15411541
qp_attr.dest_qp_num = rds_ibdev->fastreg_qp->qp_num;
15421542
qp_attr.rq_psn = 1;
15431543
qp_attr.ah_attr.ah_flags = IB_AH_GRH;

0 commit comments

Comments
 (0)