Searched refs:ib_port (Results 1 - 6 of 6) sorted by relevance

/freebsd-10.2-release/sys/ofed/drivers/infiniband/core/
H A Dsysfs.c44 struct ib_port { struct
54 ssize_t (*show)(struct ib_port *, struct port_attribute *, char *buf);
55 ssize_t (*store)(struct ib_port *, struct port_attribute *,
76 struct ib_port *p = container_of(kobj, struct ib_port, kobj);
88 static ssize_t state_show(struct ib_port *p, struct port_attribute *unused,
112 static ssize_t lid_show(struct ib_port *p, struct port_attribute *unused,
125 static ssize_t lid_mask_count_show(struct ib_port *p,
139 static ssize_t sm_lid_show(struct ib_port *p, struct port_attribute *unused,
152 static ssize_t sm_sl_show(struct ib_port *
[all...]
/freebsd-10.2-release/contrib/ofed/libibverbs/examples/
H A Ddevinfo.c198 static int print_hca_cap(struct ibv_device *ib_dev, uint8_t ib_port) argument
280 if ((ib_port) && (port != ib_port))
350 int ib_port = 0; local
373 ib_port = strtol(optarg, NULL, 0);
374 if (ib_port < 0) {
429 ret |= print_hca_cap(*dev_list, ib_port);
437 ret |= print_hca_cap(*dev_list, ib_port);
H A Drc_pingpong.c210 int ib_port, enum ibv_mtu mtu,
283 if (pp_connect_ctx(ctx, ib_port, my_dest->psn, mtu, sl, rem_dest, sgid_idx)) {
517 int ib_port = 1; local
567 ib_port = strtol(optarg, NULL, 0);
568 if (ib_port < 0) {
645 ctx = pp_init_ctx(ib_dev, size, rx_depth, ib_port, use_event, !servername);
662 if (pp_get_port_info(ctx->context, ib_port, &ctx->portinfo)) {
674 if (ibv_query_gid(ctx->context, ib_port, gidx, &my_dest.gid)) {
691 rem_dest = pp_server_exch_dest(ctx, ib_port, mtu, port, sl, &my_dest, gidx);
701 if (pp_connect_ctx(ctx, ib_port, my_des
209 pp_server_exch_dest(struct pingpong_context *ctx, int ib_port, enum ibv_mtu mtu, int port, int sl, const struct pingpong_dest *my_dest, int sgid_idx) argument
[all...]
H A Duc_pingpong.c198 int ib_port, enum ibv_mtu mtu,
271 if (pp_connect_ctx(ctx, ib_port, my_dest->psn, mtu, sl, rem_dest, sgid_idx)) {
502 int ib_port = 1; local
552 ib_port = strtol(optarg, NULL, 0);
553 if (ib_port < 0) {
630 ctx = pp_init_ctx(ib_dev, size, rx_depth, ib_port, use_event);
646 if (pp_get_port_info(ctx->context, ib_port, &ctx->portinfo)) {
658 if (ibv_query_gid(ctx->context, ib_port, gidx, &my_dest.gid)) {
674 rem_dest = pp_server_exch_dest(ctx, ib_port, mtu, port, sl, &my_dest, gidx);
684 if (pp_connect_ctx(ctx, ib_port, my_des
197 pp_server_exch_dest(struct pingpong_context *ctx, int ib_port, enum ibv_mtu mtu, int port, int sl, const struct pingpong_dest *my_dest, int sgid_idx) argument
[all...]
H A Dud_pingpong.c197 int ib_port, int port, int sl,
269 if (pp_connect_ctx(ctx, ib_port, my_dest->psn, sl, rem_dest, sgid_idx)) {
510 int ib_port = 1; local
558 ib_port = strtol(optarg, NULL, 0);
559 if (ib_port < 0) {
628 ctx = pp_init_ctx(ib_dev, size, rx_depth, ib_port, use_event);
644 if (pp_get_port_info(ctx->context, ib_port, &ctx->portinfo)) {
654 if (ibv_query_gid(ctx->context, ib_port, gidx, &my_dest.gid)) {
668 rem_dest = pp_server_exch_dest(ctx, ib_port, port, sl, &my_dest, gidx);
678 if (pp_connect_ctx(ctx, ib_port, my_des
196 pp_server_exch_dest(struct pingpong_context *ctx, int ib_port, int port, int sl, const struct pingpong_dest *my_dest, int sgid_idx) argument
[all...]
H A Dsrq_pingpong.c230 int ib_port, enum ibv_mtu mtu,
313 if (pp_connect_ctx(ctx, ib_port, mtu, sl, my_dest, rem_dest, sgid_idx)) {
584 int ib_port = 1; local
638 ib_port = strtol(optarg, NULL, 0);
639 if (ib_port < 0) {
730 ctx = pp_init_ctx(ib_dev, size, num_qp, rx_depth, ib_port, use_event);
748 if (pp_get_port_info(ctx->context, ib_port, &ctx->portinfo)) {
762 if (ibv_query_gid(ctx->context, ib_port, gidx, &my_dest[i].gid)) {
777 rem_dest = pp_server_exch_dest(ctx, ib_port, mtu, port, sl, my_dest, gidx);
791 if (pp_connect_ctx(ctx, ib_port, mt
229 pp_server_exch_dest(struct pingpong_context *ctx, int ib_port, enum ibv_mtu mtu, int port, int sl, const struct pingpong_dest *my_dest, int sgid_idx) argument
[all...]

Completed in 181 milliseconds