Lines Matching defs:num_clients
94 int num_clients;
143 for (i = 0; i < ctx.num_clients; ++i) {
172 init.cap.max_send_wr = ctx.num_clients * ctx.num_tests;
206 ctx.recv_qp = calloc(ctx.num_clients, sizeof *ctx.recv_qp);
207 ctx.send_qp = calloc(ctx.num_clients, sizeof *ctx.send_qp);
208 ctx.rem_dest = calloc(ctx.num_clients, sizeof *ctx.rem_dest);
274 ctx.recv_cq = ibv_create_cq(ctx.context, ctx.num_clients, &ctx.recv_cq,
288 ctx.send_cq = ibv_create_cq(ctx.context, ctx.num_clients, NULL, NULL, 0);
295 attr.attr.max_wr = ctx.num_clients;
371 for (i = 0; i < ctx.num_clients; i++) {
376 for (i = 0; i < ctx.num_clients; i++) {
633 if (listen(sockfd, ctx.num_clients) < 0) {
639 for (i = 0; i < ctx.num_clients; i++) {
665 for (i = 0; i < ctx.num_clients; ++i) {
779 qpi = (index + ctx.rem_dest[index].pp_cnt) % ctx.num_clients;
790 if (ctx.num_clients == 1)
793 for (i = 0; i < ctx.num_clients; ++i)
830 ctx.num_clients = 1;
917 ctx.num_clients = strtol(optarg, NULL, 0);
939 ctx.num_clients = 1;
950 if (pp_post_recv(ctx.num_clients)) {
962 for (i = 0; i < ctx.num_clients; i++)
966 total = ctx.num_clients * ctx.num_tests;
997 for (cnt = 0; cnt < ctx.num_clients; cnt += ne) {