Lines Matching defs:dest
52 pma_query_via(void *rcvbuf, ib_portid_t *dest, int port,
56 int lid = dest->lid;
76 dest->qp = 1;
77 if (!dest->qkey)
78 dest->qkey = IB_DEFAULT_QP1_QKEY;
81 return mad_rpc(srcport, &rpc, dest, rcvbuf, rcvbuf);
83 return madrpc(&rpc, dest, rcvbuf, rcvbuf);
88 pma_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout, unsigned id)
90 return pma_query_via(rcvbuf, dest, port, timeout, id, NULL);
94 perf_classportinfo_query_via(void *rcvbuf, ib_portid_t *dest, int port,
97 return pma_query_via(rcvbuf, dest, port, timeout, CLASS_PORT_INFO,
102 perf_classportinfo_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout)
104 return pma_query(rcvbuf, dest, port, timeout, CLASS_PORT_INFO);
108 port_performance_query_via(void *rcvbuf, ib_portid_t *dest, int port,
111 return pma_query_via(rcvbuf, dest, port, timeout,
116 port_performance_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout)
118 return pma_query(rcvbuf, dest, port, timeout, IB_GSI_PORT_COUNTERS);
122 performance_reset_via(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask,
126 int lid = dest->lid;
151 dest->qp = 1;
152 if (!dest->qkey)
153 dest->qkey = IB_DEFAULT_QP1_QKEY;
156 return mad_rpc(srcport, &rpc, dest, rcvbuf, rcvbuf);
158 return madrpc(&rpc, dest, rcvbuf, rcvbuf);
163 performance_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask,
166 return performance_reset_via(rcvbuf, dest, port, mask, timeout,
171 port_performance_reset_via(void *rcvbuf, ib_portid_t *dest, int port,
174 return performance_reset_via(rcvbuf, dest, port, mask, timeout,
179 port_performance_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask,
182 return performance_reset(rcvbuf, dest, port, mask, timeout, IB_GSI_PORT_COUNTERS);
186 port_performance_ext_query_via(void *rcvbuf, ib_portid_t *dest, int port,
189 return pma_query_via(rcvbuf, dest, port, timeout,
194 port_performance_ext_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout)
196 return pma_query(rcvbuf, dest, port, timeout, IB_GSI_PORT_COUNTERS_EXT);
200 port_performance_ext_reset_via(void *rcvbuf, ib_portid_t *dest, int port,
204 return performance_reset_via(rcvbuf, dest, port, mask, timeout,
209 port_performance_ext_reset(void *rcvbuf, ib_portid_t *dest, int port, unsigned mask,
212 return performance_reset(rcvbuf, dest, port, mask, timeout, IB_GSI_PORT_COUNTERS_EXT);
216 port_samples_control_query_via(void *rcvbuf, ib_portid_t *dest, int port,
219 return pma_query_via(rcvbuf, dest, port, timeout,
224 port_samples_control_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout)
226 return pma_query(rcvbuf, dest, port, timeout, IB_GSI_PORT_SAMPLES_CONTROL);
230 port_samples_result_query_via(void *rcvbuf, ib_portid_t *dest, int port,
233 return pma_query_via(rcvbuf, dest, port, timeout,
238 port_samples_result_query(void *rcvbuf, ib_portid_t *dest, int port, unsigned timeout)
240 return pma_query(rcvbuf, dest, port, timeout, IB_GSI_PORT_SAMPLES_RESULT);