Lines Matching defs:init
139 struct ibv_qp_init_attr_ex init;
145 memset(&init, 0, sizeof init);
146 init.qp_type = IBV_QPT_XRC_RECV;
147 init.comp_mask = IBV_QP_INIT_ATTR_XRCD;
148 init.xrcd = ctx.xrcd;
150 ctx.recv_qp[i] = ibv_create_qp_ex(ctx.context, &init);
169 memset(&init, 0, sizeof init);
170 init.qp_type = IBV_QPT_XRC_SEND;
171 init.send_cq = ctx.send_cq;
172 init.cap.max_send_wr = ctx.num_clients * ctx.num_tests;
173 init.cap.max_send_sge = 1;
174 init.comp_mask = IBV_QP_INIT_ATTR_PD;
175 init.pd = ctx.pd;
177 ctx.send_qp[i] = ibv_create_qp_ex(ctx.context, &init);
820 static void init(void)
861 init();