Lines Matching refs:send_qp
85 struct ibv_qp **send_qp; member
177 ctx.send_qp[i] = ibv_create_qp_ex(ctx.context, &init); in create_qps()
178 if (!ctx.send_qp[i]) { in create_qps()
189 if (ibv_modify_qp(ctx.send_qp[i], &mod, in create_qps()
207 ctx.send_qp = calloc(ctx.num_clients, sizeof *ctx.send_qp); in pp_init_ctx()
209 if (!ctx.recv_qp || !ctx.send_qp || !ctx.rem_dest) in pp_init_ctx()
410 ctx.send_qp[index]->qp_num, ctx.rem_dest[index].recv_psn, in send_local_dest()
415 ctx.send_qp[index]->qp_num, ctx.rem_dest[index].recv_psn, in send_local_dest()
516 if (ibv_modify_qp(ctx.send_qp[index], &attr, in connect_qps()
530 if (ibv_modify_qp(ctx.send_qp[index], &attr, in connect_qps()
667 if (ibv_destroy_qp(ctx.send_qp[i])) { in pp_close_ctx()
730 free(ctx.send_qp); in pp_close_ctx()
783 return ibv_post_send(ctx.send_qp[qpi], &wr, &bad_wr); in pp_post_send()