Home
last modified time | relevance | path

Searched refs:qstats (Results 1 – 6 of 6) sorted by relevance

/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_stats.c954 struct bnx2x_eth_q_stats *qstats = in bnx2x_storm_stats_update() local
978 qstats->total_bytes_received_hi = in bnx2x_storm_stats_update()
979 qstats->total_broadcast_bytes_received_hi; in bnx2x_storm_stats_update()
980 qstats->total_bytes_received_lo = in bnx2x_storm_stats_update()
981 qstats->total_broadcast_bytes_received_lo; in bnx2x_storm_stats_update()
983 ADD_64(qstats->total_bytes_received_hi, in bnx2x_storm_stats_update()
984 qstats->total_multicast_bytes_received_hi, in bnx2x_storm_stats_update()
985 qstats->total_bytes_received_lo, in bnx2x_storm_stats_update()
986 qstats->total_multicast_bytes_received_lo); in bnx2x_storm_stats_update()
988 ADD_64(qstats->total_bytes_received_hi, in bnx2x_storm_stats_update()
[all …]
Dbnx2x_stats.h437 ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
452 ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
465 ADD_EXTEND_64(qstats->t##_hi, qstats->t##_lo, diff); \
470 qstats->t##_lo = qstats_old->t##_lo + le32_to_cpu(s.lo); \
471 qstats->t##_hi = qstats_old->t##_hi + le32_to_cpu(s.hi) \
472 + ((qstats->t##_lo < qstats_old->t##_lo) ? 1 : 0); \
477 qstats_old->f = qstats->f; \
482 ADD_64(estats->s##_hi, qstats->s##_hi, \
483 estats->s##_lo, qstats->s##_lo); \
486 qstats_old->s##_hi_old = qstats->s##_hi; \
[all …]
Dbnx2x_cmn.c873 struct bnx2x_eth_q_stats *qstats) in bnx2x_csum_validate() argument
889 qstats->hw_csum_err++; in bnx2x_csum_validate()
/drivers/infiniband/hw/hfi1/
Dvnic_main.c24 #define SUM_GRP_COUNTERS(stats, qstats, x_grp) do { \ argument
26 for (src64 = &qstats->x_grp.unicast, \
45 struct opa_vnic_stats *qstats = &vinfo->stats[i]; in hfi1_vnic_update_stats() local
50 stats->tx_drop_state += qstats->tx_drop_state; in hfi1_vnic_update_stats()
51 stats->tx_dlid_zero += qstats->tx_dlid_zero; in hfi1_vnic_update_stats()
53 SUM_GRP_COUNTERS(stats, qstats, tx_grp); in hfi1_vnic_update_stats()
60 struct opa_vnic_stats *qstats = &vinfo->stats[i]; in hfi1_vnic_update_stats() local
65 stats->rx_drop_state += qstats->rx_drop_state; in hfi1_vnic_update_stats()
66 stats->rx_oversize += qstats->rx_oversize; in hfi1_vnic_update_stats()
67 stats->rx_runt += qstats->rx_runt; in hfi1_vnic_update_stats()
[all …]
/drivers/net/ethernet/netronome/nfp/abm/
Dqdisc.c462 struct gnet_stats_queue *qstats) in nfp_abm_stats_calculate() argument
466 qstats->qlen += new->backlog_pkts - old->backlog_pkts; in nfp_abm_stats_calculate()
467 qstats->backlog += new->backlog_bytes - old->backlog_bytes; in nfp_abm_stats_calculate()
468 qstats->overlimits += new->overlimits - old->overlimits; in nfp_abm_stats_calculate()
469 qstats->drops += new->drops - old->drops; in nfp_abm_stats_calculate()
503 &stats->bstats[i], &stats->qstats[i]); in nfp_abm_gred_stats()
654 stats->bstats, stats->qstats); in nfp_abm_red_stats()
811 stats->bstats, stats->qstats); in nfp_abm_mq_stats()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_qdisc.c572 stats_ptr->qstats->drops += drops; in mlxsw_sp_qdisc_update_stats()
573 stats_ptr->qstats->backlog += mlxsw_sp_cells_bytes(mlxsw_sp, backlog); in mlxsw_sp_qdisc_update_stats()
749 struct gnet_stats_queue *qstats) in mlxsw_sp_qdisc_leaf_unoffload() argument
755 qstats->backlog -= backlog; in mlxsw_sp_qdisc_leaf_unoffload()
766 mlxsw_sp_qdisc_leaf_unoffload(mlxsw_sp_port, mlxsw_sp_qdisc, p->qstats); in mlxsw_sp_qdisc_red_unoffload()
818 stats_ptr->qstats->overlimits += overlimits; in mlxsw_sp_qdisc_get_red_stats()
1059 mlxsw_sp_qdisc_leaf_unoffload(mlxsw_sp_port, mlxsw_sp_qdisc, p->qstats); in mlxsw_sp_qdisc_tbf_unoffload()
1420 struct gnet_stats_queue *qstats) in __mlxsw_sp_qdisc_ets_unoffload() argument
1426 qstats->backlog -= backlog; in __mlxsw_sp_qdisc_ets_unoffload()
1437 p->qstats); in mlxsw_sp_qdisc_prio_unoffload()
[all …]