Lines Matching refs:param
260 &evt->param.req_rcvd); in ib_ucm_event_process()
263 uvt->resp.present |= (evt->param.req_rcvd.alternate_path ? in ib_ucm_event_process()
268 &evt->param.rep_rcvd); in ib_ucm_event_process()
273 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
277 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
281 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
285 evt->param.mra_rcvd.service_timeout; in ib_ucm_event_process()
289 uvt->resp.u.rej_resp.reason = evt->param.rej_rcvd.reason; in ib_ucm_event_process()
291 uvt->info_len = evt->param.rej_rcvd.ari_length; in ib_ucm_event_process()
292 info = evt->param.rej_rcvd.ari; in ib_ucm_event_process()
296 evt->param.lap_rcvd.alternate_path); in ib_ucm_event_process()
301 uvt->resp.u.apr_resp.status = evt->param.apr_rcvd.ap_status; in ib_ucm_event_process()
303 uvt->info_len = evt->param.apr_rcvd.info_len; in ib_ucm_event_process()
304 info = evt->param.apr_rcvd.apr_info; in ib_ucm_event_process()
308 evt->param.sidr_req_rcvd.pkey; in ib_ucm_event_process()
310 evt->param.sidr_req_rcvd.port; in ib_ucm_event_process()
315 &evt->param.sidr_rep_rcvd); in ib_ucm_event_process()
317 uvt->info_len = evt->param.sidr_rep_rcvd.info_len; in ib_ucm_event_process()
318 info = evt->param.sidr_rep_rcvd.info; in ib_ucm_event_process()
321 uvt->resp.u.send_status = evt->param.send_status; in ib_ucm_event_process()
736 struct ib_cm_req_param param; in ib_ucm_send_req() local
741 param.private_data = NULL; in ib_ucm_send_req()
742 param.primary_path = NULL; in ib_ucm_send_req()
743 param.alternate_path = NULL; in ib_ucm_send_req()
748 result = ib_ucm_alloc_data(¶m.private_data, cmd.data, cmd.len); in ib_ucm_send_req()
752 result = ib_ucm_path_get(¶m.primary_path, cmd.primary_path); in ib_ucm_send_req()
756 result = ib_ucm_path_get(¶m.alternate_path, cmd.alternate_path); in ib_ucm_send_req()
760 param.private_data_len = cmd.len; in ib_ucm_send_req()
761 param.service_id = cmd.sid; in ib_ucm_send_req()
762 param.qp_num = cmd.qpn; in ib_ucm_send_req()
763 param.qp_type = cmd.qp_type; in ib_ucm_send_req()
764 param.starting_psn = cmd.psn; in ib_ucm_send_req()
765 param.peer_to_peer = cmd.peer_to_peer; in ib_ucm_send_req()
766 param.responder_resources = cmd.responder_resources; in ib_ucm_send_req()
767 param.initiator_depth = cmd.initiator_depth; in ib_ucm_send_req()
768 param.remote_cm_response_timeout = cmd.remote_cm_response_timeout; in ib_ucm_send_req()
769 param.flow_control = cmd.flow_control; in ib_ucm_send_req()
770 param.local_cm_response_timeout = cmd.local_cm_response_timeout; in ib_ucm_send_req()
771 param.retry_count = cmd.retry_count; in ib_ucm_send_req()
772 param.rnr_retry_count = cmd.rnr_retry_count; in ib_ucm_send_req()
773 param.max_cm_retries = cmd.max_cm_retries; in ib_ucm_send_req()
774 param.srq = cmd.srq; in ib_ucm_send_req()
778 result = ib_send_cm_req(ctx->cm_id, ¶m); in ib_ucm_send_req()
784 kfree(param.private_data); in ib_ucm_send_req()
785 kfree(param.primary_path); in ib_ucm_send_req()
786 kfree(param.alternate_path); in ib_ucm_send_req()
794 struct ib_cm_rep_param param; in ib_ucm_send_rep() local
799 param.private_data = NULL; in ib_ucm_send_rep()
804 result = ib_ucm_alloc_data(¶m.private_data, cmd.data, cmd.len); in ib_ucm_send_rep()
808 param.qp_num = cmd.qpn; in ib_ucm_send_rep()
809 param.starting_psn = cmd.psn; in ib_ucm_send_rep()
810 param.private_data_len = cmd.len; in ib_ucm_send_rep()
811 param.responder_resources = cmd.responder_resources; in ib_ucm_send_rep()
812 param.initiator_depth = cmd.initiator_depth; in ib_ucm_send_rep()
813 param.failover_accepted = cmd.failover_accepted; in ib_ucm_send_rep()
814 param.flow_control = cmd.flow_control; in ib_ucm_send_rep()
815 param.rnr_retry_count = cmd.rnr_retry_count; in ib_ucm_send_rep()
816 param.srq = cmd.srq; in ib_ucm_send_rep()
821 result = ib_send_cm_rep(ctx->cm_id, ¶m); in ib_ucm_send_rep()
826 kfree(param.private_data); in ib_ucm_send_rep()
999 struct ib_cm_sidr_req_param param; in ib_ucm_send_sidr_req() local
1004 param.private_data = NULL; in ib_ucm_send_sidr_req()
1005 param.path = NULL; in ib_ucm_send_sidr_req()
1010 result = ib_ucm_alloc_data(¶m.private_data, cmd.data, cmd.len); in ib_ucm_send_sidr_req()
1014 result = ib_ucm_path_get(¶m.path, cmd.path); in ib_ucm_send_sidr_req()
1018 param.private_data_len = cmd.len; in ib_ucm_send_sidr_req()
1019 param.service_id = cmd.sid; in ib_ucm_send_sidr_req()
1020 param.timeout_ms = cmd.timeout; in ib_ucm_send_sidr_req()
1021 param.max_cm_retries = cmd.max_cm_retries; in ib_ucm_send_sidr_req()
1025 result = ib_send_cm_sidr_req(ctx->cm_id, ¶m); in ib_ucm_send_sidr_req()
1031 kfree(param.private_data); in ib_ucm_send_sidr_req()
1032 kfree(param.path); in ib_ucm_send_sidr_req()
1040 struct ib_cm_sidr_rep_param param; in ib_ucm_send_sidr_rep() local
1045 param.info = NULL; in ib_ucm_send_sidr_rep()
1050 result = ib_ucm_alloc_data(¶m.private_data, in ib_ucm_send_sidr_rep()
1055 result = ib_ucm_alloc_data(¶m.info, cmd.info, cmd.info_len); in ib_ucm_send_sidr_rep()
1059 param.qp_num = cmd.qpn; in ib_ucm_send_sidr_rep()
1060 param.qkey = cmd.qkey; in ib_ucm_send_sidr_rep()
1061 param.status = cmd.status; in ib_ucm_send_sidr_rep()
1062 param.info_length = cmd.info_len; in ib_ucm_send_sidr_rep()
1063 param.private_data_len = cmd.data_len; in ib_ucm_send_sidr_rep()
1067 result = ib_send_cm_sidr_rep(ctx->cm_id, ¶m); in ib_ucm_send_sidr_rep()
1073 kfree(param.private_data); in ib_ucm_send_sidr_rep()
1074 kfree(param.info); in ib_ucm_send_sidr_rep()