Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set qp_timeout for create_rdma_cm_connection path
Upstream commit ccae524 added some calls to set qp_timeout for the RDMA Connection Manager path using rdma_set_option() with the RDMA_OPTION_ID_ACK_TIMEOUT optname, but it only set qp_timeout for the establish_connection() path, which creates a connection for setup, not data transfer. To support the qp_timeout argument properly, we must add the rdma_set_option(RDMA_OPTION_ID_ACK_TIMEOUT) call for the data transfer connection, which is setup by create_rdma_cm_connection(). Therefore this change adds these required calls in rdma_cm_address_handler() for the client and rdma_cm_connection_request_handler() for the server. For the client path, the rdma_set_option() call is added before rdma_resolve_route() and for the server path it is added before rdma_accept() just like in establish_connection(). With this change the --qp-timeout/-u argument should work properly for all perftest variants in the RDMA Connection Manager path. Signed-off-by: Raphael Norwitz <[email protected]>
- Loading branch information