diff options
author | 2021-03-31 20:43:14 +0200 | |
---|---|---|
committer | 2021-04-12 19:51:48 -0300 | |
commit | 5aa54bd28ce2b066d82cdd515269b9d562bd6e66 (patch) | |
tree | 027b8877446b4c7af02cc319d231d32a754161ff /samples/mei | |
parent | IB/cma: Introduce rdma_set_min_rnr_timer() (diff) | |
download | linux-5aa54bd28ce2b066d82cdd515269b9d562bd6e66.tar.gz linux-5aa54bd28ce2b066d82cdd515269b9d562bd6e66.tar.bz2 linux-5aa54bd28ce2b066d82cdd515269b9d562bd6e66.zip |
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>
Diffstat (limited to 'samples/mei')
0 files changed, 0 insertions, 0 deletions