Lines Matching refs:port
166 fprintf(stderr, "Failed to query gid to port %d, index %d\n",
204 uint8_t port;
278 for (port = 1; port <= device_attr.phys_port_cnt; ++port) {
279 /* if in the command line the user didn't ask for info about this port */
280 if ((ib_port) && (port != ib_port))
283 rc = ibv_query_port(ctx, port, &port_attr);
285 fprintf(stderr, "Failed to query port %u props\n", port);
288 printf("\t\tport:\t%d\n", port);
319 if (print_all_port_gids(ctx, port, port_attr.gid_tbl_len))
339 printf(" -i, --ib-port=<port> use port <port> of IB device (default all ports)\n");
357 { .name = "ib-port", .has_arg = 1, .val = 'i' },