Home
last modified time | relevance | path

Searched refs:ib_portid_t (Results 1 – 25 of 25) sorted by relevance

/trueos/contrib/ofed/management/libibmad/include/infiniband/
HDmad.h201 } ib_portid_t; typedef
623 char * portid2str(ib_portid_t *portid);
624 int portid2portnum(ib_portid_t *portid);
629 ib_portid_set(ib_portid_t *portid, int lid, int qp, int qkey) in ib_portid_set()
691 int mad_build_pkt(void *umad, ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp, void *data);
703 int mad_send(ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp,
706 int mad_respond(void *umad, ib_portid_t *portid, uint32_t rstatus);
711 uint8_t *ib_vendor_call(void *data, ib_portid_t *portid,
730 void * madrpc(ib_rpc_t *rpc, ib_portid_t *dport, void *payload, void *rcvdata);
731 void * madrpc_rmpp(ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp,
[all …]
/trueos/contrib/ofed/management/libibmad/src/
HDresolve.c53 ib_resolve_smlid_via(ib_portid_t *sm_id, int timeout, const void *srcport) in ib_resolve_smlid_via()
55 ib_portid_t self = {0}; in ib_resolve_smlid_via()
71 ib_resolve_smlid(ib_portid_t *sm_id, int timeout) in ib_resolve_smlid()
77 ib_resolve_guid_via(ib_portid_t *portid, uint64_t *guid, ib_portid_t *sm_id, int timeout, const voi… in ib_resolve_guid_via()
79 ib_portid_t sm_portid; in ib_resolve_guid_via()
99 ib_resolve_portid_str_via(ib_portid_t *portid, char *addr_str, int dest_type, ib_portid_t *sm_id, c… in ib_resolve_portid_str_via()
104 ib_portid_t selfportid = {0}; in ib_resolve_portid_str_via()
148 ib_resolve_portid_str(ib_portid_t *portid, char *addr_str, int dest_type, ib_portid_t *sm_id) in ib_resolve_portid_str()
155 ib_resolve_self_via(ib_portid_t *portid, int *portnum, ibmad_gid_t *gid, in ib_resolve_self_via()
158 ib_portid_t self = {0}; in ib_resolve_self_via()
[all …]
HDgs.c52 pma_query_via(void *rcvbuf, ib_portid_t *dest, int port, in pma_query_via()
88 pma_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, unsigned id) in pma_query()
94 perf_classportinfo_query_via(void *rcvbuf, ib_portid_t *dest, int port, in perf_classportinfo_query_via()
102 perf_classportinfo_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) in perf_classportinfo_query()
108 port_performance_query_via(void *rcvbuf, ib_portid_t *dest, int port, in port_performance_query_via()
116 port_performance_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout) in port_performance_query()
122 performance_reset_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, in performance_reset_via()
163 performance_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, in performance_reset()
171 port_performance_reset_via(void *rcvbuf, ib_portid_t *dest, int port, in port_performance_reset_via()
179 port_performance_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask, in port_performance_reset()
[all …]
HDsmp.c52 smp_set_via(void *data, ib_portid_t *portid, unsigned attrid, unsigned mod, unsigned timeout, const… in smp_set_via()
82 smp_set(void *data, ib_portid_t *portid, unsigned attrid, unsigned mod, unsigned timeout) in smp_set()
88 smp_query_via(void *rcvbuf, ib_portid_t *portid, unsigned attrid, unsigned mod, in smp_query_via()
119 smp_query(void *rcvbuf, ib_portid_t *portid, unsigned attrid, unsigned mod, in smp_query()
HDsa.c52 sa_rpc_call(const void *ibmad_port, void *rcvbuf, ib_portid_t *portid, in sa_rpc_call()
115 ib_path_query_via(const void *srcport, ibmad_gid_t srcgid, ibmad_gid_t destgid, ib_portid_t *sm_id,… in ib_path_query_via()
149 ib_path_query(ibmad_gid_t srcgid, ibmad_gid_t destgid, ib_portid_t *sm_id, void *buf) in ib_path_query()
HDrpc.c173 mad_rpc(const void *port_id, ib_rpc_t *rpc, ib_portid_t *dport, void *payload, in mad_rpc()
213 mad_rpc_rmpp(const void *port_id, ib_rpc_t *rpc, ib_portid_t *dport, in mad_rpc_rmpp()
271 madrpc(ib_rpc_t *rpc, ib_portid_t *dport, void *payload, void *rcvdata) in madrpc()
281 madrpc_rmpp(ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp, void *data) in madrpc_rmpp()
395 sa_call(void *rcvbuf, ib_portid_t *portid, ib_sa_call_t *sa, unsigned timeout) in sa_call()
HDserv.c54 mad_send(ib_rpc_t *rpc, ib_portid_t *dport, ib_rmpp_hdr_t *rmpp, void *data) in mad_send()
82 mad_respond(void *umad, ib_portid_t *portid, uint32_t rstatus) in mad_respond()
87 ib_portid_t rport; in mad_respond()
HDportid.c54 portid2portnum(ib_portid_t *portid) in portid2portnum()
66 portid2str(ib_portid_t *portid) in portid2str()
HDvendor.c60 ib_vendor_call(void *data, ib_portid_t *portid, ib_vendor_call_t *call) in ib_vendor_call()
HDmad.c171 mad_build_pkt(void *umad, ib_rpc_t *rpc, ib_portid_t *dport, in mad_build_pkt()
/trueos/contrib/ofed/management/infiniband-diags/src/
HDsmpquery.c63 typedef char *(op_fn_t)(ib_portid_t *dest, char **argv, int argc);
92 node_desc(ib_portid_t *dest, char **argv, int argc) in node_desc()
127 node_info(ib_portid_t *dest, char **argv, int argc) in node_info()
142 port_info(ib_portid_t *dest, char **argv, int argc) in port_info()
161 switch_info(ib_portid_t *dest, char **argv, int argc) in switch_info()
176 pkey_table(ib_portid_t *dest, char **argv, int argc) in pkey_table()
227 static char *sl2vl_dump_table_entry(ib_portid_t *dest, int in, int out) in sl2vl_dump_table_entry()
243 sl2vl_table(ib_portid_t *dest, char **argv, int argc) in sl2vl_table()
278 static char *vlarb_dump_table_entry(ib_portid_t *dest, int portnum, int offset, unsigned cap) in vlarb_dump_table_entry()
291 static char *vlarb_dump_table(ib_portid_t *dest, int portnum, in vlarb_dump_table()
[all …]
HDmcm_rereg_test.c88 static void build_mcm_rec_umad(void *umad, ib_portid_t *dport, int method, in build_mcm_rec_umad()
105 static int rereg_send(int port, int agent, ib_portid_t *dport, in rereg_send()
124 static int rereg_port_gid(int port, int agent, ib_portid_t *dport, in rereg_port_gid()
159 static int rereg_send_all(int port, int agent, ib_portid_t *dport, in rereg_send_all()
193 static int rereg_mcm_rec_send(int port, int agent, ib_portid_t *dport, int cnt)
195 ib_portid_t portid;
220 static int rereg_recv(int port, int agent, ib_portid_t *dport, in rereg_recv()
243 static int rereg_recv_all(int port, int agent, ib_portid_t *dport, in rereg_recv_all()
298 static int rereg_query_all(int port, int agent, ib_portid_t *dport, in rereg_query_all()
382 static int rereg_and_test_port(char *guid_file, int port, int agent, ib_portid_t *dport, int timeou… in rereg_and_test_port()
[all …]
HDibtracert.c105 ib_portid_t path;
120 get_node(Node *node, Port *port, ib_portid_t *portid) in get_node()
156 switch_lookup(Switch *sw, ib_portid_t *portid, int lid) in switch_lookup()
244 find_route(ib_portid_t *from, ib_portid_t *to, int dump) in find_route()
384 get_port(Port *port, int portnum, ib_portid_t *portid) in get_port()
412 new_node(Node *node, Port *port, ib_portid_t *path, int dist) in new_node()
438 switch_mclookup(Node *node, ib_portid_t *portid, int mlid, char *map) in switch_mclookup()
484 find_mcpath(ib_portid_t *from, int mlid) in find_mcpath()
491 ib_portid_t *path; in find_mcpath()
618 find_target_portguid(ib_portid_t *to) in find_target_portguid()
[all …]
HDibportstate.c63 get_node_info(ib_portid_t *dest, uint8_t *data) in get_node_info()
78 get_port_info(ib_portid_t *dest, uint8_t *data, int portnum, int port_op) in get_port_info()
117 set_port_info(ib_portid_t *dest, uint8_t *data, int portnum, int port_op) in set_port_info()
226 ib_portid_t portid = {0}; in main()
227 ib_portid_t *sm_id = 0, sm_portid = {0}; in main()
240 ib_portid_t peerportid = {0}; in main()
242 ib_portid_t selfportid = {0}; in main()
HDibaddr.c56 ib_resolve_addr(ib_portid_t *portid, int portnum, int show_lid, int show_gid) in ib_resolve_addr()
119 ib_portid_t *sm_id = 0, sm_portid = {0}; in main()
120 ib_portid_t portid = {0}; in main()
HDibroute.c66 check_switch(ib_portid_t *portid, int *nports, uint64_t *guid, in check_switch()
144 dump_multicast_tables(ib_portid_t *portid, int startlid, int endlid) in dump_multicast_tables()
236 ib_portid_t lidport = {0}; in dump_lid()
294 dump_unicast_tables(ib_portid_t *portid, int startlid, int endlid) in dump_unicast_tables()
386 ib_portid_t portid = {0}; in main()
387 ib_portid_t *sm_id = 0, sm_portid = {0}; in main()
HDperfquery.c215 static void output_aggregate_perfcounters(ib_portid_t *portid) in output_aggregate_perfcounters()
272 static void output_aggregate_perfcounters_ext(ib_portid_t *portid) in output_aggregate_perfcounters_ext()
294 static void dump_perfcounters(int extended, int timeout, uint16_t cap_mask, ib_portid_t *portid, in dump_perfcounters()
322 static void reset_counters(int extended, int timeout, int mask, ib_portid_t *portid, int port) in reset_counters()
337 ib_portid_t *sm_id = 0, sm_portid = {0}; in main()
338 ib_portid_t portid = {0}; in main()
HDibsysstat.c159 ibsystat(ib_portid_t *portid, int attr) in ibsystat()
244 ib_portid_t portid = {0}; in main()
245 ib_portid_t *sm_id = 0, sm_portid = {0}; in main()
HDibping.c114 ibping(ib_portid_t *portid, int quiet) in ibping()
165 static ib_portid_t portid = {0};
193 ib_portid_t *sm_id = 0, sm_portid = {0}; in main()
HDibsendtrap.c54 ib_portid_t sm_port; in send_144_node_desc_update()
55 ib_portid_t selfportid; in send_144_node_desc_update()
HDibnetdiscover.c145 get_port(Port *port, int portnum, ib_portid_t *portid) in get_port()
164 get_node(Node *node, Port *port, ib_portid_t *portid) in get_node()
226 dump_endnode(ib_portid_t *path, char *prompt, Node *node, Port *port) in dump_endnode()
258 create_node(Node *temp, ib_portid_t *path, int dist) in create_node()
327 handle_port(Node *node, Port *port, ib_portid_t *path, int portnum, int dist) in handle_port()
378 discover(ib_portid_t *from) in discover()
386 ib_portid_t *path; in discover()
937 ib_portid_t my_portid = {0}; in main()
HDvendstat.c133 ib_portid_t *sm_id = 0, sm_portid = {0}; in main()
134 ib_portid_t portid = {0}; in main()
HDsminfo.c88 ib_portid_t portid = {0}; in main()
/trueos/contrib/ofed/management/doc/
HDlibibmad.txt53 ib_portid_t: (endpoint) address structure
83 void * madrpc(ib_rpc_t *rpc, ib_portid_t *dport,
96 void * madrpc_rmpp(ib_rpc_t *rpc, ib_portid_t *dport,
231 uint8 *ib_vendor_call(void *data, ib_portid_t *dport,
261 uint8 * smp_query(void *buf, ib_portid_t *dport,
277 uint8 * smp_set(void *buf, ib_portid_t *dport,
293 uint8 * safe_smp_query(void *rcvbuf, ib_portid_t *portid,
304 uint8 * safe_smp_set(void *rcvbuf, ib_portid_t *portid,
315 uint8 * sa_call(void *data, ib_portid_t *dport,
335 ib_portid_t *sm_id, void *buf);
[all …]
/trueos/contrib/ofed/management/infiniband-diags/include/
HDibnetdiscover.h88 ib_portid_t path;