Håkon Bugge 5aa54bd28c rds: ib: Remove two ib_modify_qp() calls
For some HCAs, ib_modify_qp() is an expensive operation running
virtualized.

For both the active and passive side, the QP returned by the CM has the
state set to RTS, so no need for this excess RTS -> RTS transition. With
IB Core's ability to set the RNR Retry timer, we use this interface to
shave off another ib_modify_qp().

Fixes: ec16227e1414 ("RDS/IB: Infiniband transport")
Link: https://lore.kernel.org/r/1617216194-12890-3-git-send-email-haakon.bugge@oracle.com
Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-04-12 19:51:48 -03:00
..
2021-01-27 17:04:12 -08:00
2021-02-06 11:15:28 -08:00
2021-02-22 18:50:42 -08:00
2021-02-11 13:24:44 -08:00
2021-02-27 08:29:02 -08:00
2021-02-27 08:29:02 -08:00
2021-02-26 09:17:24 -08:00
2021-01-24 14:27:18 +01:00
2021-02-27 08:29:02 -08:00