Lines Matching refs:portid

60 uint8_t *smp_set_status_via(void *data, ib_portid_t * portid, unsigned attrid,  in smp_set_status_via()  argument
67 DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); in smp_set_status_via()
68 if ((portid->lid <= 0) || in smp_set_status_via()
69 (portid->drpath.drslid == 0xffff) || in smp_set_status_via()
70 (portid->drpath.drdlid == 0xffff)) in smp_set_status_via()
83 portid->sl = 0; in smp_set_status_via()
84 portid->qp = 0; in smp_set_status_via()
86 res = mad_rpc(srcport, &rpc, portid, data, data); in smp_set_status_via()
92 uint8_t *smp_set_via(void *data, ib_portid_t * portid, unsigned attrid, in smp_set_via() argument
96 return smp_set_status_via(data, portid, attrid, mod, timeout, NULL, in smp_set_via()
100 uint8_t *smp_set(void *data, ib_portid_t * portid, unsigned attrid, in smp_set() argument
103 return smp_set_via(data, portid, attrid, mod, timeout, ibmp); in smp_set()
106 uint8_t *smp_query_status_via(void *rcvbuf, ib_portid_t * portid, in smp_query_status_via() argument
113 DEBUG("attr 0x%x mod 0x%x route %s", attrid, mod, portid2str(portid)); in smp_query_status_via()
122 if ((portid->lid <= 0) || in smp_query_status_via()
123 (portid->drpath.drslid == 0xffff) || in smp_query_status_via()
124 (portid->drpath.drdlid == 0xffff)) in smp_query_status_via()
129 portid->sl = 0; in smp_query_status_via()
130 portid->qp = 0; in smp_query_status_via()
132 res = mad_rpc(srcport, &rpc, portid, rcvbuf, rcvbuf); in smp_query_status_via()
138 uint8_t *smp_query_via(void *rcvbuf, ib_portid_t * portid, unsigned attrid, in smp_query_via() argument
142 return smp_query_status_via(rcvbuf, portid, attrid, mod, timeout, NULL, in smp_query_via()
146 uint8_t *smp_query(void *rcvbuf, ib_portid_t * portid, unsigned attrid, in smp_query() argument
149 return smp_query_via(rcvbuf, portid, attrid, mod, timeout, ibmp); in smp_query()