Searched refs:peerportid (Results 1 – 2 of 2) sorted by relevance
/freebsd/contrib/ofed/infiniband-diags/src/ |
H A D | ibmirror.c | 257 ib_portid_t peerportid = { 0 }; in get_peer() local 261 memcpy(&peerportid, portid, sizeof(peerportid)); in get_peer() 262 peerportid.drpath.cnt = 1; in get_peer() 263 peerportid.drpath.p[1] = outport; in get_peer() 266 peerportid.drpath.drslid = (uint16_t) selfportid.lid; in get_peer() 267 peerportid.drpath.drdlid = 0xffff; in get_peer() 268 if (!smp_query_via(buf, &peerportid, IB_ATTR_PORT_INFO, 0, 0, srcport)) in get_peer() 302 ib_portid_t peerportid = { 0 }; in lossy_config() local 312 get_peer(portid, outport, &peerportid.lid, &peerport); in lossy_config() 315 printf("peer lid %d / port %d\n", peerportid.lid, peerport); in lossy_config() [all …]
|
H A D | ibportstate.c | 387 ib_portid_t peerportid = { 0 }; in main() local 666 memcpy(&peerportid, &portid, sizeof(peerportid)); in main() 668 peerportid.drpath.cnt++; in main() 669 if (peerportid.drpath.cnt == IB_SUBNET_PATH_HOPS_MAX) { in main() 673 peerportid.drpath.cnt = 1; in main() 679 peerportid.drpath.drslid = (uint16_t) selfportid.lid; in main() 680 peerportid.drpath.drdlid = 0xffff; in main() 682 peerportid.drpath.p[peerportid.drpath.cnt] = (uint8_t) portnum; in main() 685 is_peer_switch = get_node_info(&peerportid, data); in main() 694 peer_espeed_cap = get_port_info(&peerportid, data, in main() [all …]
|