Lines Matching refs:rep_param
2142 } *rep_param = NULL; in srpt_cm_req_recv() local
2169 rep_param = kzalloc(sizeof(*rep_param), GFP_KERNEL); in srpt_cm_req_recv()
2170 if (!rsp || !rej || !rep_param) in srpt_cm_req_recv()
2382 rep_param->rdma_cm.private_data = (void *)rsp; in srpt_cm_req_recv()
2383 rep_param->rdma_cm.private_data_len = sizeof(*rsp); in srpt_cm_req_recv()
2384 rep_param->rdma_cm.rnr_retry_count = 7; in srpt_cm_req_recv()
2385 rep_param->rdma_cm.flow_control = 1; in srpt_cm_req_recv()
2386 rep_param->rdma_cm.responder_resources = 4; in srpt_cm_req_recv()
2387 rep_param->rdma_cm.initiator_depth = 4; in srpt_cm_req_recv()
2389 rep_param->ib_cm.qp_num = ch->qp->qp_num; in srpt_cm_req_recv()
2390 rep_param->ib_cm.private_data = (void *)rsp; in srpt_cm_req_recv()
2391 rep_param->ib_cm.private_data_len = sizeof(*rsp); in srpt_cm_req_recv()
2392 rep_param->ib_cm.rnr_retry_count = 7; in srpt_cm_req_recv()
2393 rep_param->ib_cm.flow_control = 1; in srpt_cm_req_recv()
2394 rep_param->ib_cm.failover_accepted = 0; in srpt_cm_req_recv()
2395 rep_param->ib_cm.srq = 1; in srpt_cm_req_recv()
2396 rep_param->ib_cm.responder_resources = 4; in srpt_cm_req_recv()
2397 rep_param->ib_cm.initiator_depth = 4; in srpt_cm_req_recv()
2407 ret = rdma_accept(rdma_cm_id, &rep_param->rdma_cm); in srpt_cm_req_recv()
2409 ret = ib_send_cm_rep(ib_cm_id, &rep_param->ib_cm); in srpt_cm_req_recv()
2481 kfree(rep_param); in srpt_cm_req_recv()