Lines Matching refs:perf_count
58 struct perf_count { struct
112 struct perf_count perf_count = {0}; variable
172 perf_count.portselect = val; in aggregate_perfcounters()
174 perf_count.counterselect = val; in aggregate_perfcounters()
176 aggregate_16bit(&perf_count.symbolerrors, val); in aggregate_perfcounters()
178 aggregate_8bit(&perf_count.linkrecovers, val); in aggregate_perfcounters()
180 aggregate_8bit(&perf_count.linkdowned, val); in aggregate_perfcounters()
182 aggregate_16bit(&perf_count.rcverrors, val); in aggregate_perfcounters()
184 aggregate_16bit(&perf_count.rcvremotephyerrors, val); in aggregate_perfcounters()
186 aggregate_16bit(&perf_count.rcvswrelayerrors, val); in aggregate_perfcounters()
188 aggregate_16bit(&perf_count.xmtdiscards, val); in aggregate_perfcounters()
190 aggregate_8bit(&perf_count.xmtconstrainterrors, val); in aggregate_perfcounters()
192 aggregate_8bit(&perf_count.rcvconstrainterrors, val); in aggregate_perfcounters()
194 aggregate_4bit(&perf_count.linkintegrityerrors, val); in aggregate_perfcounters()
196 aggregate_4bit(&perf_count.excbufoverrunerrors, val); in aggregate_perfcounters()
199 aggregate_16bit(&perf_count.qp1dropped, val); in aggregate_perfcounters()
202 aggregate_16bit(&perf_count.vl15dropped, val); in aggregate_perfcounters()
204 aggregate_32bit(&perf_count.xmtdata, val); in aggregate_perfcounters()
206 aggregate_32bit(&perf_count.rcvdata, val); in aggregate_perfcounters()
208 aggregate_32bit(&perf_count.xmtpkts, val); in aggregate_perfcounters()
210 aggregate_32bit(&perf_count.rcvpkts, val); in aggregate_perfcounters()
212 aggregate_32bit(&perf_count.xmtwait, val); in aggregate_perfcounters()
223 mad_encode_field(pc, IB_PC_COUNTER_SELECT_F, &perf_count.counterselect); in output_aggregate_perfcounters()
224 mad_encode_field(pc, IB_PC_ERR_SYM_F, &perf_count.symbolerrors); in output_aggregate_perfcounters()
225 mad_encode_field(pc, IB_PC_LINK_RECOVERS_F, &perf_count.linkrecovers); in output_aggregate_perfcounters()
226 mad_encode_field(pc, IB_PC_LINK_DOWNED_F, &perf_count.linkdowned); in output_aggregate_perfcounters()
227 mad_encode_field(pc, IB_PC_ERR_RCV_F, &perf_count.rcverrors); in output_aggregate_perfcounters()
229 &perf_count.rcvremotephyerrors); in output_aggregate_perfcounters()
231 &perf_count.rcvswrelayerrors); in output_aggregate_perfcounters()
232 mad_encode_field(pc, IB_PC_XMT_DISCARDS_F, &perf_count.xmtdiscards); in output_aggregate_perfcounters()
234 &perf_count.xmtconstrainterrors); in output_aggregate_perfcounters()
236 &perf_count.rcvconstrainterrors); in output_aggregate_perfcounters()
238 &perf_count.linkintegrityerrors); in output_aggregate_perfcounters()
240 &perf_count.excbufoverrunerrors); in output_aggregate_perfcounters()
242 mad_encode_field(pc, IB_PC_QP1_DROP_F, &perf_count.qp1dropped); in output_aggregate_perfcounters()
244 mad_encode_field(pc, IB_PC_VL15_DROPPED_F, &perf_count.vl15dropped); in output_aggregate_perfcounters()
245 mad_encode_field(pc, IB_PC_XMT_BYTES_F, &perf_count.xmtdata); in output_aggregate_perfcounters()
246 mad_encode_field(pc, IB_PC_RCV_BYTES_F, &perf_count.rcvdata); in output_aggregate_perfcounters()
247 mad_encode_field(pc, IB_PC_XMT_PKTS_F, &perf_count.xmtpkts); in output_aggregate_perfcounters()
248 mad_encode_field(pc, IB_PC_RCV_PKTS_F, &perf_count.rcvpkts); in output_aggregate_perfcounters()
249 mad_encode_field(pc, IB_PC_XMT_WAIT_F, &perf_count.xmtwait); in output_aggregate_perfcounters()
405 perf_count.xmtwait = 0; in dump_perfcounters()
407 &perf_count.xmtwait); in dump_perfcounters()