Lines Matching defs:mlx4_en_stats
128 struct mlx4_en_stat_out_mbox *mlx4_en_stats;
179 mlx4_en_stats = mailbox->buf;
199 priv->pkstats.rx_packets = be64_to_cpu(mlx4_en_stats->RTOT_prio_0) +
200 be64_to_cpu(mlx4_en_stats->RTOT_prio_1) +
201 be64_to_cpu(mlx4_en_stats->RTOT_prio_2) +
202 be64_to_cpu(mlx4_en_stats->RTOT_prio_3) +
203 be64_to_cpu(mlx4_en_stats->RTOT_prio_4) +
204 be64_to_cpu(mlx4_en_stats->RTOT_prio_5) +
205 be64_to_cpu(mlx4_en_stats->RTOT_prio_6) +
206 be64_to_cpu(mlx4_en_stats->RTOT_prio_7) +
207 be64_to_cpu(mlx4_en_stats->RTOT_novlan);
208 priv->pkstats.rx_bytes = be64_to_cpu(mlx4_en_stats->ROCT_prio_0) +
209 be64_to_cpu(mlx4_en_stats->ROCT_prio_1) +
210 be64_to_cpu(mlx4_en_stats->ROCT_prio_2) +
211 be64_to_cpu(mlx4_en_stats->ROCT_prio_3) +
212 be64_to_cpu(mlx4_en_stats->ROCT_prio_4) +
213 be64_to_cpu(mlx4_en_stats->ROCT_prio_5) +
214 be64_to_cpu(mlx4_en_stats->ROCT_prio_6) +
215 be64_to_cpu(mlx4_en_stats->ROCT_prio_7) +
216 be64_to_cpu(mlx4_en_stats->ROCT_novlan);
217 priv->pkstats.rx_multicast_packets = be64_to_cpu(mlx4_en_stats->MCAST_prio_0) +
218 be64_to_cpu(mlx4_en_stats->MCAST_prio_1) +
219 be64_to_cpu(mlx4_en_stats->MCAST_prio_2) +
220 be64_to_cpu(mlx4_en_stats->MCAST_prio_3) +
221 be64_to_cpu(mlx4_en_stats->MCAST_prio_4) +
222 be64_to_cpu(mlx4_en_stats->MCAST_prio_5) +
223 be64_to_cpu(mlx4_en_stats->MCAST_prio_6) +
224 be64_to_cpu(mlx4_en_stats->MCAST_prio_7) +
225 be64_to_cpu(mlx4_en_stats->MCAST_novlan);
226 priv->pkstats.rx_broadcast_packets = be64_to_cpu(mlx4_en_stats->RBCAST_prio_0) +
227 be64_to_cpu(mlx4_en_stats->RBCAST_prio_1) +
228 be64_to_cpu(mlx4_en_stats->RBCAST_prio_2) +
229 be64_to_cpu(mlx4_en_stats->RBCAST_prio_3) +
230 be64_to_cpu(mlx4_en_stats->RBCAST_prio_4) +
231 be64_to_cpu(mlx4_en_stats->RBCAST_prio_5) +
232 be64_to_cpu(mlx4_en_stats->RBCAST_prio_6) +
233 be64_to_cpu(mlx4_en_stats->RBCAST_prio_7) +
234 be64_to_cpu(mlx4_en_stats->RBCAST_novlan);
235 priv->pkstats.rx_errors = be64_to_cpu(mlx4_en_stats->PCS) +
236 be32_to_cpu(mlx4_en_stats->RJBBR) +
237 be32_to_cpu(mlx4_en_stats->RCRC) +
238 be32_to_cpu(mlx4_en_stats->RRUNT) +
239 be64_to_cpu(mlx4_en_stats->RInRangeLengthErr) +
240 be64_to_cpu(mlx4_en_stats->ROutRangeLengthErr) +
241 be32_to_cpu(mlx4_en_stats->RSHORT) +
242 be64_to_cpu(mlx4_en_stats->RGIANT_prio_0) +
243 be64_to_cpu(mlx4_en_stats->RGIANT_prio_1) +
244 be64_to_cpu(mlx4_en_stats->RGIANT_prio_2) +
245 be64_to_cpu(mlx4_en_stats->RGIANT_prio_3) +
246 be64_to_cpu(mlx4_en_stats->RGIANT_prio_4) +
247 be64_to_cpu(mlx4_en_stats->RGIANT_prio_5) +
248 be64_to_cpu(mlx4_en_stats->RGIANT_prio_6) +
249 be64_to_cpu(mlx4_en_stats->RGIANT_prio_7) +
250 be64_to_cpu(mlx4_en_stats->RGIANT_novlan);
251 priv->pkstats.rx_dropped = be32_to_cpu(mlx4_en_stats->RdropOvflw);
252 priv->pkstats.rx_length_errors = be32_to_cpu(mlx4_en_stats->RdropLength);
253 priv->pkstats.rx_over_errors = be32_to_cpu(mlx4_en_stats->RdropOvflw);
254 priv->pkstats.rx_crc_errors = be32_to_cpu(mlx4_en_stats->RCRC);
255 priv->pkstats.rx_jabbers = be32_to_cpu(mlx4_en_stats->RJBBR);
256 priv->pkstats.rx_in_range_length_error = be64_to_cpu(mlx4_en_stats->RInRangeLengthErr);
257 priv->pkstats.rx_out_range_length_error = be64_to_cpu(mlx4_en_stats->ROutRangeLengthErr);
258 priv->pkstats.rx_lt_64_bytes_packets = be64_to_cpu(mlx4_en_stats->R64_prio_0) +
259 be64_to_cpu(mlx4_en_stats->R64_prio_1) +
260 be64_to_cpu(mlx4_en_stats->R64_prio_2) +
261 be64_to_cpu(mlx4_en_stats->R64_prio_3) +
262 be64_to_cpu(mlx4_en_stats->R64_prio_4) +
263 be64_to_cpu(mlx4_en_stats->R64_prio_5) +
264 be64_to_cpu(mlx4_en_stats->R64_prio_6) +
265 be64_to_cpu(mlx4_en_stats->R64_prio_7) +
266 be64_to_cpu(mlx4_en_stats->R64_novlan);
267 priv->pkstats.rx_127_bytes_packets = be64_to_cpu(mlx4_en_stats->R127_prio_0) +
268 be64_to_cpu(mlx4_en_stats->R127_prio_1) +
269 be64_to_cpu(mlx4_en_stats->R127_prio_2) +
270 be64_to_cpu(mlx4_en_stats->R127_prio_3) +
271 be64_to_cpu(mlx4_en_stats->R127_prio_4) +
272 be64_to_cpu(mlx4_en_stats->R127_prio_5) +
273 be64_to_cpu(mlx4_en_stats->R127_prio_6) +
274 be64_to_cpu(mlx4_en_stats->R127_prio_7) +
275 be64_to_cpu(mlx4_en_stats->R127_novlan);
276 priv->pkstats.rx_255_bytes_packets = be64_to_cpu(mlx4_en_stats->R255_prio_0) +
277 be64_to_cpu(mlx4_en_stats->R255_prio_1) +
278 be64_to_cpu(mlx4_en_stats->R255_prio_2) +
279 be64_to_cpu(mlx4_en_stats->R255_prio_3) +
280 be64_to_cpu(mlx4_en_stats->R255_prio_4) +
281 be64_to_cpu(mlx4_en_stats->R255_prio_5) +
282 be64_to_cpu(mlx4_en_stats->R255_prio_6) +
283 be64_to_cpu(mlx4_en_stats->R255_prio_7) +
284 be64_to_cpu(mlx4_en_stats->R255_novlan);
285 priv->pkstats.rx_511_bytes_packets = be64_to_cpu(mlx4_en_stats->R511_prio_0) +
286 be64_to_cpu(mlx4_en_stats->R511_prio_1) +
287 be64_to_cpu(mlx4_en_stats->R511_prio_2) +
288 be64_to_cpu(mlx4_en_stats->R511_prio_3) +
289 be64_to_cpu(mlx4_en_stats->R511_prio_4) +
290 be64_to_cpu(mlx4_en_stats->R511_prio_5) +
291 be64_to_cpu(mlx4_en_stats->R511_prio_6) +
292 be64_to_cpu(mlx4_en_stats->R511_prio_7) +
293 be64_to_cpu(mlx4_en_stats->R511_novlan);
294 priv->pkstats.rx_1023_bytes_packets = be64_to_cpu(mlx4_en_stats->R1023_prio_0) +
295 be64_to_cpu(mlx4_en_stats->R1023_prio_1) +
296 be64_to_cpu(mlx4_en_stats->R1023_prio_2) +
297 be64_to_cpu(mlx4_en_stats->R1023_prio_3) +
298 be64_to_cpu(mlx4_en_stats->R1023_prio_4) +
299 be64_to_cpu(mlx4_en_stats->R1023_prio_5) +
300 be64_to_cpu(mlx4_en_stats->R1023_prio_6) +
301 be64_to_cpu(mlx4_en_stats->R1023_prio_7) +
302 be64_to_cpu(mlx4_en_stats->R1023_novlan);
303 priv->pkstats.rx_1518_bytes_packets = be64_to_cpu(mlx4_en_stats->R1518_prio_0) +
304 be64_to_cpu(mlx4_en_stats->R1518_prio_1) +
305 be64_to_cpu(mlx4_en_stats->R1518_prio_2) +
306 be64_to_cpu(mlx4_en_stats->R1518_prio_3) +
307 be64_to_cpu(mlx4_en_stats->R1518_prio_4) +
308 be64_to_cpu(mlx4_en_stats->R1518_prio_5) +
309 be64_to_cpu(mlx4_en_stats->R1518_prio_6) +
310 be64_to_cpu(mlx4_en_stats->R1518_prio_7) +
311 be64_to_cpu(mlx4_en_stats->R1518_novlan);
312 priv->pkstats.rx_1522_bytes_packets = be64_to_cpu(mlx4_en_stats->R1522_prio_0) +
313 be64_to_cpu(mlx4_en_stats->R1522_prio_1) +
314 be64_to_cpu(mlx4_en_stats->R1522_prio_2) +
315 be64_to_cpu(mlx4_en_stats->R1522_prio_3) +
316 be64_to_cpu(mlx4_en_stats->R1522_prio_4) +
317 be64_to_cpu(mlx4_en_stats->R1522_prio_5) +
318 be64_to_cpu(mlx4_en_stats->R1522_prio_6) +
319 be64_to_cpu(mlx4_en_stats->R1522_prio_7) +
320 be64_to_cpu(mlx4_en_stats->R1522_novlan);
321 priv->pkstats.rx_1548_bytes_packets = be64_to_cpu(mlx4_en_stats->R1548_prio_0) +
322 be64_to_cpu(mlx4_en_stats->R1548_prio_1) +
323 be64_to_cpu(mlx4_en_stats->R1548_prio_2) +
324 be64_to_cpu(mlx4_en_stats->R1548_prio_3) +
325 be64_to_cpu(mlx4_en_stats->R1548_prio_4) +
326 be64_to_cpu(mlx4_en_stats->R1548_prio_5) +
327 be64_to_cpu(mlx4_en_stats->R1548_prio_6) +
328 be64_to_cpu(mlx4_en_stats->R1548_prio_7) +
329 be64_to_cpu(mlx4_en_stats->R1548_novlan);
330 priv->pkstats.rx_gt_1548_bytes_packets = be64_to_cpu(mlx4_en_stats->R2MTU_prio_0) +
331 be64_to_cpu(mlx4_en_stats->R2MTU_prio_1) +
332 be64_to_cpu(mlx4_en_stats->R2MTU_prio_2) +
333 be64_to_cpu(mlx4_en_stats->R2MTU_prio_3) +
334 be64_to_cpu(mlx4_en_stats->R2MTU_prio_4) +
335 be64_to_cpu(mlx4_en_stats->R2MTU_prio_5) +
336 be64_to_cpu(mlx4_en_stats->R2MTU_prio_6) +
337 be64_to_cpu(mlx4_en_stats->R2MTU_prio_7) +
338 be64_to_cpu(mlx4_en_stats->R2MTU_novlan);
341 priv->pkstats.tx_packets = be64_to_cpu(mlx4_en_stats->TTOT_prio_0) +
342 be64_to_cpu(mlx4_en_stats->TTOT_prio_1) +
343 be64_to_cpu(mlx4_en_stats->TTOT_prio_2) +
344 be64_to_cpu(mlx4_en_stats->TTOT_prio_3) +
345 be64_to_cpu(mlx4_en_stats->TTOT_prio_4) +
346 be64_to_cpu(mlx4_en_stats->TTOT_prio_5) +
347 be64_to_cpu(mlx4_en_stats->TTOT_prio_6) +
348 be64_to_cpu(mlx4_en_stats->TTOT_prio_7) +
349 be64_to_cpu(mlx4_en_stats->TTOT_novlan);
350 priv->pkstats.tx_bytes = be64_to_cpu(mlx4_en_stats->TOCT_prio_0) +
351 be64_to_cpu(mlx4_en_stats->TOCT_prio_1) +
352 be64_to_cpu(mlx4_en_stats->TOCT_prio_2) +
353 be64_to_cpu(mlx4_en_stats->TOCT_prio_3) +
354 be64_to_cpu(mlx4_en_stats->TOCT_prio_4) +
355 be64_to_cpu(mlx4_en_stats->TOCT_prio_5) +
356 be64_to_cpu(mlx4_en_stats->TOCT_prio_6) +
357 be64_to_cpu(mlx4_en_stats->TOCT_prio_7) +
358 be64_to_cpu(mlx4_en_stats->TOCT_novlan);
359 priv->pkstats.tx_multicast_packets = be64_to_cpu(mlx4_en_stats->TMCAST_prio_0) +
360 be64_to_cpu(mlx4_en_stats->TMCAST_prio_1) +
361 be64_to_cpu(mlx4_en_stats->TMCAST_prio_2) +
362 be64_to_cpu(mlx4_en_stats->TMCAST_prio_3) +
363 be64_to_cpu(mlx4_en_stats->TMCAST_prio_4) +
364 be64_to_cpu(mlx4_en_stats->TMCAST_prio_5) +
365 be64_to_cpu(mlx4_en_stats->TMCAST_prio_6) +
366 be64_to_cpu(mlx4_en_stats->TMCAST_prio_7) +
367 be64_to_cpu(mlx4_en_stats->TMCAST_novlan);
368 priv->pkstats.tx_broadcast_packets = be64_to_cpu(mlx4_en_stats->TBCAST_prio_0) +
369 be64_to_cpu(mlx4_en_stats->TBCAST_prio_1) +
370 be64_to_cpu(mlx4_en_stats->TBCAST_prio_2) +
371 be64_to_cpu(mlx4_en_stats->TBCAST_prio_3) +
372 be64_to_cpu(mlx4_en_stats->TBCAST_prio_4) +
373 be64_to_cpu(mlx4_en_stats->TBCAST_prio_5) +
374 be64_to_cpu(mlx4_en_stats->TBCAST_prio_6) +
375 be64_to_cpu(mlx4_en_stats->TBCAST_prio_7) +
376 be64_to_cpu(mlx4_en_stats->TBCAST_novlan);
377 priv->pkstats.tx_errors = be64_to_cpu(mlx4_en_stats->TGIANT_prio_0) +
378 be64_to_cpu(mlx4_en_stats->TGIANT_prio_1) +
379 be64_to_cpu(mlx4_en_stats->TGIANT_prio_2) +
380 be64_to_cpu(mlx4_en_stats->TGIANT_prio_3) +
381 be64_to_cpu(mlx4_en_stats->TGIANT_prio_4) +
382 be64_to_cpu(mlx4_en_stats->TGIANT_prio_5) +
383 be64_to_cpu(mlx4_en_stats->TGIANT_prio_6) +
384 be64_to_cpu(mlx4_en_stats->TGIANT_prio_7) +
385 be64_to_cpu(mlx4_en_stats->TGIANT_novlan);
386 priv->pkstats.tx_dropped = be32_to_cpu(mlx4_en_stats->TDROP) -
388 priv->pkstats.tx_lt_64_bytes_packets = be64_to_cpu(mlx4_en_stats->T64_prio_0) +
389 be64_to_cpu(mlx4_en_stats->T64_prio_1) +
390 be64_to_cpu(mlx4_en_stats->T64_prio_2) +
391 be64_to_cpu(mlx4_en_stats->T64_prio_3) +
392 be64_to_cpu(mlx4_en_stats->T64_prio_4) +
393 be64_to_cpu(mlx4_en_stats->T64_prio_5) +
394 be64_to_cpu(mlx4_en_stats->T64_prio_6) +
395 be64_to_cpu(mlx4_en_stats->T64_prio_7) +
396 be64_to_cpu(mlx4_en_stats->T64_novlan);
397 priv->pkstats.tx_127_bytes_packets = be64_to_cpu(mlx4_en_stats->T127_prio_0) +
398 be64_to_cpu(mlx4_en_stats->T127_prio_1) +
399 be64_to_cpu(mlx4_en_stats->T127_prio_2) +
400 be64_to_cpu(mlx4_en_stats->T127_prio_3) +
401 be64_to_cpu(mlx4_en_stats->T127_prio_4) +
402 be64_to_cpu(mlx4_en_stats->T127_prio_5) +
403 be64_to_cpu(mlx4_en_stats->T127_prio_6) +
404 be64_to_cpu(mlx4_en_stats->T127_prio_7) +
405 be64_to_cpu(mlx4_en_stats->T127_novlan);
406 priv->pkstats.tx_255_bytes_packets = be64_to_cpu(mlx4_en_stats->T255_prio_0) +
407 be64_to_cpu(mlx4_en_stats->T255_prio_1) +
408 be64_to_cpu(mlx4_en_stats->T255_prio_2) +
409 be64_to_cpu(mlx4_en_stats->T255_prio_3) +
410 be64_to_cpu(mlx4_en_stats->T255_prio_4) +
411 be64_to_cpu(mlx4_en_stats->T255_prio_5) +
412 be64_to_cpu(mlx4_en_stats->T255_prio_6) +
413 be64_to_cpu(mlx4_en_stats->T255_prio_7) +
414 be64_to_cpu(mlx4_en_stats->T255_novlan);
415 priv->pkstats.tx_511_bytes_packets = be64_to_cpu(mlx4_en_stats->T511_prio_0) +
416 be64_to_cpu(mlx4_en_stats->T511_prio_1) +
417 be64_to_cpu(mlx4_en_stats->T511_prio_2) +
418 be64_to_cpu(mlx4_en_stats->T511_prio_3) +
419 be64_to_cpu(mlx4_en_stats->T511_prio_4) +
420 be64_to_cpu(mlx4_en_stats->T511_prio_5) +
421 be64_to_cpu(mlx4_en_stats->T511_prio_6) +
422 be64_to_cpu(mlx4_en_stats->T511_prio_7) +
423 be64_to_cpu(mlx4_en_stats->T511_novlan);
424 priv->pkstats.tx_1023_bytes_packets = be64_to_cpu(mlx4_en_stats->T1023_prio_0) +
425 be64_to_cpu(mlx4_en_stats->T1023_prio_1) +
426 be64_to_cpu(mlx4_en_stats->T1023_prio_2) +
427 be64_to_cpu(mlx4_en_stats->T1023_prio_3) +
428 be64_to_cpu(mlx4_en_stats->T1023_prio_4) +
429 be64_to_cpu(mlx4_en_stats->T1023_prio_5) +
430 be64_to_cpu(mlx4_en_stats->T1023_prio_6) +
431 be64_to_cpu(mlx4_en_stats->T1023_prio_7) +
432 be64_to_cpu(mlx4_en_stats->T1023_novlan);
433 priv->pkstats.tx_1518_bytes_packets = be64_to_cpu(mlx4_en_stats->T1518_prio_0) +
434 be64_to_cpu(mlx4_en_stats->T1518_prio_1) +
435 be64_to_cpu(mlx4_en_stats->T1518_prio_2) +
436 be64_to_cpu(mlx4_en_stats->T1518_prio_3) +
437 be64_to_cpu(mlx4_en_stats->T1518_prio_4) +
438 be64_to_cpu(mlx4_en_stats->T1518_prio_5) +
439 be64_to_cpu(mlx4_en_stats->T1518_prio_6) +
440 be64_to_cpu(mlx4_en_stats->T1518_prio_7) +
441 be64_to_cpu(mlx4_en_stats->T1518_novlan);
442 priv->pkstats.tx_1522_bytes_packets = be64_to_cpu(mlx4_en_stats->T1522_prio_0) +
443 be64_to_cpu(mlx4_en_stats->T1522_prio_1) +
444 be64_to_cpu(mlx4_en_stats->T1522_prio_2) +
445 be64_to_cpu(mlx4_en_stats->T1522_prio_3) +
446 be64_to_cpu(mlx4_en_stats->T1522_prio_4) +
447 be64_to_cpu(mlx4_en_stats->T1522_prio_5) +
448 be64_to_cpu(mlx4_en_stats->T1522_prio_6) +
449 be64_to_cpu(mlx4_en_stats->T1522_prio_7) +
450 be64_to_cpu(mlx4_en_stats->T1522_novlan);
451 priv->pkstats.tx_1548_bytes_packets = be64_to_cpu(mlx4_en_stats->T1548_prio_0) +
452 be64_to_cpu(mlx4_en_stats->T1548_prio_1) +
453 be64_to_cpu(mlx4_en_stats->T1548_prio_2) +
454 be64_to_cpu(mlx4_en_stats->T1548_prio_3) +
455 be64_to_cpu(mlx4_en_stats->T1548_prio_4) +
456 be64_to_cpu(mlx4_en_stats->T1548_prio_5) +
457 be64_to_cpu(mlx4_en_stats->T1548_prio_6) +
458 be64_to_cpu(mlx4_en_stats->T1548_prio_7) +
459 be64_to_cpu(mlx4_en_stats->T1548_novlan);
460 priv->pkstats.tx_gt_1548_bytes_packets = be64_to_cpu(mlx4_en_stats->T2MTU_prio_0) +
461 be64_to_cpu(mlx4_en_stats->T2MTU_prio_1) +
462 be64_to_cpu(mlx4_en_stats->T2MTU_prio_2) +
463 be64_to_cpu(mlx4_en_stats->T2MTU_prio_3) +
464 be64_to_cpu(mlx4_en_stats->T2MTU_prio_4) +
465 be64_to_cpu(mlx4_en_stats->T2MTU_prio_5) +
466 be64_to_cpu(mlx4_en_stats->T2MTU_prio_6) +
467 be64_to_cpu(mlx4_en_stats->T2MTU_prio_7) +
468 be64_to_cpu(mlx4_en_stats->T2MTU_novlan);
470 priv->pkstats.rx_prio[0][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_0);
471 priv->pkstats.rx_prio[0][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_0);
472 priv->pkstats.rx_prio[1][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_1);
473 priv->pkstats.rx_prio[1][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_1);
474 priv->pkstats.rx_prio[2][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_2);
475 priv->pkstats.rx_prio[2][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_2);
476 priv->pkstats.rx_prio[3][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_3);
477 priv->pkstats.rx_prio[3][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_3);
478 priv->pkstats.rx_prio[4][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_4);
479 priv->pkstats.rx_prio[4][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_4);
480 priv->pkstats.rx_prio[5][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_5);
481 priv->pkstats.rx_prio[5][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_5);
482 priv->pkstats.rx_prio[6][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_6);
483 priv->pkstats.rx_prio[6][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_6);
484 priv->pkstats.rx_prio[7][0] = be64_to_cpu(mlx4_en_stats->RTOT_prio_7);
485 priv->pkstats.rx_prio[7][1] = be64_to_cpu(mlx4_en_stats->ROCT_prio_7);
486 priv->pkstats.rx_prio[8][0] = be64_to_cpu(mlx4_en_stats->RTOT_novlan);
487 priv->pkstats.rx_prio[8][1] = be64_to_cpu(mlx4_en_stats->ROCT_novlan);
488 priv->pkstats.tx_prio[0][0] = be64_to_cpu(mlx4_en_stats->TTOT_prio_0);
489 priv->pkstats.tx_prio[0][1] = be64_to_cpu(mlx4_en_stats->TOCT_prio_0);
490 priv->pkstats.tx_prio[1][0] = be64_to_cpu(mlx4_en_stats->TTOT_prio_1);
491 priv->pkstats.tx_prio[1][1] = be64_to_cpu(mlx4_en_stats->TOCT_prio_1);
492 priv->pkstats.tx_prio[2][0] = be64_to_cpu(mlx4_en_stats->TTOT_prio_2);
493 priv->pkstats.tx_prio[2][1] = be64_to_cpu(mlx4_en_stats->TOCT_prio_2);
494 priv->pkstats.tx_prio[3][0] = be64_to_cpu(mlx4_en_stats->TTOT_prio_3);
495 priv->pkstats.tx_prio[3][1] = be64_to_cpu(mlx4_en_stats->TOCT_prio_3);
496 priv->pkstats.tx_prio[4][0] = be64_to_cpu(mlx4_en_stats->TTOT_prio_4);
497 priv->pkstats.tx_prio[4][1] = be64_to_cpu(mlx4_en_stats->TOCT_prio_4);
498 priv->pkstats.tx_prio[5][0] = be64_to_cpu(mlx4_en_stats->TTOT_prio_5);
499 priv->pkstats.tx_prio[5][1] = be64_to_cpu(mlx4_en_stats->TOCT_prio_5);
500 priv->pkstats.tx_prio[6][0] = be64_to_cpu(mlx4_en_stats->TTOT_prio_6);
501 priv->pkstats.tx_prio[6][1] = be64_to_cpu(mlx4_en_stats->TOCT_prio_6);
502 priv->pkstats.tx_prio[7][0] = be64_to_cpu(mlx4_en_stats->TTOT_prio_7);
503 priv->pkstats.tx_prio[7][1] = be64_to_cpu(mlx4_en_stats->TOCT_prio_7);
504 priv->pkstats.tx_prio[8][0] = be64_to_cpu(mlx4_en_stats->TTOT_novlan);
505 priv->pkstats.tx_prio[8][1] = be64_to_cpu(mlx4_en_stats->TOCT_novlan);