/freebsd-11-stable/contrib/ofed/infiniband-diags/src/ |
H A D | ibaddr.c | 56 uint8_t portinfo[IB_SMP_DATA_SIZE] = { 0 }; local 65 if (!smp_query_via(portinfo, portid, IB_ATTR_PORT_INFO, portnum, 0, 69 mad_decode_field(portinfo, IB_PORT_LID_F, &portid->lid); 70 mad_decode_field(portinfo, IB_PORT_GID_PREFIX_F, &prefix); 71 mad_decode_field(portinfo, IB_PORT_LMC_F, &lmc);
|
H A D | ibtracert.c | 87 char portinfo[64]; member in struct:Port 138 void *pi = port->portinfo, *ni = node->nodeinfo, *nd = node->nodedesc; 156 memset(pi, 0, sizeof(port->portinfo)); 435 char portinfo[64] = { 0 }; local 436 void *pi = portinfo; 743 uint8_t portinfo[64] = { 0 }; local 746 if (!smp_query_via(portinfo, portid, IB_ATTR_PORT_INFO, 0, 0, srcport)) 748 mad_decode_field(portinfo, IB_PORT_LID_F, &lid);
|
/freebsd-11-stable/contrib/ofed/libibmad/ |
H A D | resolve.c | 222 uint8_t portinfo[64]; local 229 if (!smp_query_via(portinfo, &self, IB_ATTR_PORT_INFO, 0, 0, srcport)) 232 mad_decode_field(portinfo, IB_PORT_LID_F, &portid->lid); 233 mad_decode_field(portinfo, IB_PORT_SMSL_F, &portid->sl); 234 mad_decode_field(portinfo, IB_PORT_GID_PREFIX_F, &prefix);
|
/freebsd-11-stable/contrib/ofed/libibverbs/examples/ |
H A D | uc_pingpong.c | 69 struct ibv_port_attr portinfo; member in struct:pingpong_context 686 if (pp_get_port_info(ctx->context, ib_port, &ctx->portinfo)) { 691 my_dest.lid = ctx->portinfo.lid; 692 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET &&
|
H A D | ud_pingpong.c | 70 struct ibv_port_attr portinfo; member in struct:pingpong_context 698 if (pp_get_port_info(ctx->context, ib_port, &ctx->portinfo)) { 702 my_dest.lid = ctx->portinfo.lid;
|
H A D | srq_pingpong.c | 73 struct ibv_port_attr portinfo; member in struct:pingpong_context 801 if (pp_get_port_info(ctx->context, ib_port, &ctx->portinfo)) { 808 my_dest[i].lid = ctx->portinfo.lid; 809 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET
|
H A D | rc_pingpong.c | 77 struct ibv_port_attr portinfo; member in struct:pingpong_context 861 if (pp_get_port_info(ctx->context, ib_port, &ctx->portinfo)) { 866 my_dest.lid = ctx->portinfo.lid; 867 if (ctx->portinfo.link_layer != IBV_LINK_LAYER_ETHERNET &&
|
/freebsd-11-stable/sys/dev/cxgb/common/ |
H A D | cxgb_vsc8211.c | 402 struct port_info *portinfo = adap2pinfo(adap, port); local 405 struct cphy *phy = &portinfo->phy;
|
/freebsd-11-stable/sys/dev/mpt/ |
H A D | mpt_cam.c | 606 mptsas_sas_io_unit_pg0(struct mpt_softc *mpt, struct mptsas_portinfo *portinfo) argument 637 portinfo->num_phys = buffer->NumPhys; 638 portinfo->phy_info = malloc(sizeof(*portinfo->phy_info) * 639 portinfo->num_phys, M_DEVBUF, M_NOWAIT|M_ZERO); 640 if (portinfo->phy_info == NULL) { 646 for (i = 0; i < portinfo->num_phys; i++) { 647 phyinfo = &portinfo->phy_info[i]; 760 struct mptsas_portinfo *portinfo; local 764 portinfo [all...] |
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | gnu-nat.c | 52 #include <portinfo.h>
|