Searched refs:gidx (Results 1 - 5 of 5) sorted by relevance

/freebsd-12-stable/contrib/ofed/libibverbs/examples/
H A Duc_pingpong.c550 int gidx = -1; local
627 gidx = strtol(optarg, NULL, 0);
698 if (gidx >= 0) {
699 if (ibv_query_gid(ctx->context, ib_port, gidx, &my_dest.gid)) {
700 fprintf(stderr, "can't read sgid of index %d\n", gidx);
717 &my_dest, gidx);
728 gidx))
H A Dud_pingpong.c572 int gidx = -1; local
640 gidx = strtol(optarg, NULL, 0);
707 if (gidx >= 0) {
708 if (ibv_query_gid(ctx->context, ib_port, gidx, &my_dest.gid)) {
710 "%d\n", gidx);
724 &my_dest, gidx);
735 gidx))
H A Drc_pingpong.c705 int gidx = -1; local
786 gidx = strtol(optarg, NULL, 0);
873 if (gidx >= 0) {
874 if (ibv_query_gid(ctx->context, ib_port, gidx, &my_dest.gid)) {
875 fprintf(stderr, "can't read sgid of index %d\n", gidx);
892 &my_dest, gidx);
903 gidx))
H A Dsrq_pingpong.c646 int gidx = -1; local
732 gidx = strtol(optarg, NULL, 0);
815 if (gidx >= 0) {
816 if (ibv_query_gid(ctx->context, ib_port, gidx,
819 "gid index %d\n", gidx);
835 my_dest, gidx);
851 gidx))
H A Dxsrq_pingpong.c97 int gidx; member in struct:pingpong_context
391 if (ctx.gidx >= 0) {
392 if (ibv_query_gid(ctx.context, ctx.ib_port, ctx.gidx,
395 ctx.gidx);
465 attr->grh.sgid_index = myctx->gidx;
830 ctx.gidx = -1;
922 ctx.gidx = strtol(optarg, NULL, 0);

Completed in 61 milliseconds