Searched refs:prev_stats (Results 1 – 14 of 14) sorted by relevance
/linux/drivers/net/ethernet/netronome/nfp/abm/ |
H A D | qdisc.c | 148 backlog_pkts = prev_stats->backlog_pkts; in __nfp_abm_stats_init() 149 backlog_bytes = prev_stats->backlog_bytes; in __nfp_abm_stats_init() 167 prev_stats->backlog_pkts = backlog_pkts; in __nfp_abm_stats_init() 168 prev_stats->backlog_bytes = backlog_bytes; in __nfp_abm_stats_init() 181 &qdisc->red.band[i].prev_stats, in nfp_abm_stats_init() 502 &qdisc->red.band[i].prev_stats, in nfp_abm_gred_stats() 653 &qdisc->red.band[0].prev_stats, in nfp_abm_red_stats() 655 qdisc->red.band[0].prev_stats = qdisc->red.band[0].stats; in nfp_abm_red_stats() 792 memset(&qdisc->mq.prev_stats, 0, sizeof(qdisc->mq.prev_stats)); in nfp_abm_mq_stats() 805 nfp_abm_stats_propagate(&qdisc->mq.prev_stats, in nfp_abm_mq_stats() [all …]
|
H A D | main.h | 169 struct nfp_alink_stats prev_stats; member 179 struct nfp_alink_stats prev_stats; member
|
/linux/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | qos_conf.c | 351 struct nfp_stat_pair *prev_stats; in nfp_flower_stats_rlim_reply() local 369 prev_stats = &repr_priv->qos_table.prev_stats; in nfp_flower_stats_rlim_reply() 378 prev_stats->pkts = curr_stats->pkts; in nfp_flower_stats_rlim_reply() 379 prev_stats->bytes = curr_stats->bytes; in nfp_flower_stats_rlim_reply() 472 struct nfp_stat_pair *prev_stats; in nfp_flower_stats_rate_limiter() local 490 prev_stats = &repr_priv->qos_table.prev_stats; in nfp_flower_stats_rate_limiter() 491 diff_pkts = curr_stats->pkts - prev_stats->pkts; in nfp_flower_stats_rate_limiter() 492 diff_bytes = curr_stats->bytes - prev_stats->bytes; in nfp_flower_stats_rate_limiter() 493 prev_stats->pkts = curr_stats->pkts; in nfp_flower_stats_rate_limiter() 494 prev_stats->bytes = curr_stats->bytes; in nfp_flower_stats_rate_limiter()
|
H A D | main.h | 356 struct nfp_stat_pair prev_stats; member
|
/linux/lib/dim/ |
H A D | rdma_dim.c | 53 &dim->prev_stats); in rdma_dim_decision() 71 dim->prev_stats = *curr_stats; in rdma_dim_decision()
|
H A D | net_dim.c | 307 &dim->prev_stats); in net_dim_decision() 321 &dim->prev_stats); in net_dim_decision() 345 dim->prev_stats = *curr_stats; in net_dim_decision()
|
/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc.h | 157 if (hba->prev_stats.stat.cnt <= val) \ 158 val -= hba->prev_stats.stat.cnt; \ 160 val += (0xfffffff - hba->prev_stats.stat.cnt); \ 232 struct fcoe_statistics_params prev_stats; member
|
H A D | bnx2fc_fcoe.c | 720 memcpy(&hba->prev_stats, hba->stats_buffer, in bnx2fc_get_host_stats()
|
/linux/drivers/net/ethernet/broadcom/bnxt/ |
H A D | bnxt_tc.h | 138 struct bnxt_tc_flow_stats prev_stats; member
|
H A D | bnxt_tc.c | 1630 struct bnxt_tc_flow_stats stats, *curr_stats, *prev_stats; in bnxt_tc_get_flow_stats() local 1644 prev_stats = &flow->prev_stats; in bnxt_tc_get_flow_stats() 1647 stats.packets = curr_stats->packets - prev_stats->packets; in bnxt_tc_get_flow_stats() 1648 stats.bytes = curr_stats->bytes - prev_stats->bytes; in bnxt_tc_get_flow_stats() 1649 *prev_stats = *curr_stats; in bnxt_tc_get_flow_stats() 1778 if (flow->stats.packets != flow->prev_stats.packets) in bnxt_tc_flow_stats_batch_update()
|
H A D | bnxt.c | 12526 struct rtnl_link_stats64 *prev_stats = &bp->net_stats_prev; in bnxt_add_prev_stats() local 12528 stats->rx_packets += prev_stats->rx_packets; in bnxt_add_prev_stats() 12529 stats->tx_packets += prev_stats->tx_packets; in bnxt_add_prev_stats() 12530 stats->rx_bytes += prev_stats->rx_bytes; in bnxt_add_prev_stats() 12531 stats->tx_bytes += prev_stats->tx_bytes; in bnxt_add_prev_stats() 12532 stats->rx_missed_errors += prev_stats->rx_missed_errors; in bnxt_add_prev_stats() 12533 stats->multicast += prev_stats->multicast; in bnxt_add_prev_stats() 12534 stats->rx_dropped += prev_stats->rx_dropped; in bnxt_add_prev_stats() 12535 stats->tx_dropped += prev_stats->tx_dropped; in bnxt_add_prev_stats()
|
/linux/include/linux/ |
H A D | dim.h | 146 struct dim_stats prev_stats; member
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | 3945.c | 373 __le32 *prev_stats; in il3945_accumulative_stats() local 377 prev_stats = (__le32 *) &il->_3945.stats; in il3945_accumulative_stats() 384 sizeof(__le32), stats++, prev_stats++, delta++, max_delta++, in il3945_accumulative_stats() 386 if (le32_to_cpu(*stats) > le32_to_cpu(*prev_stats)) { in il3945_accumulative_stats() 388 (le32_to_cpu(*stats) - le32_to_cpu(*prev_stats)); in il3945_accumulative_stats()
|
H A D | 4965-mac.c | 1323 __le32 *prev_stats; in il4965_accumulative_stats() local 1328 prev_stats = (__le32 *) &il->_4965.stats; in il4965_accumulative_stats() 1338 sizeof(__le32), stats++, prev_stats++, delta++, max_delta++, in il4965_accumulative_stats() 1340 if (le32_to_cpu(*stats) > le32_to_cpu(*prev_stats)) { in il4965_accumulative_stats() 1342 (le32_to_cpu(*stats) - le32_to_cpu(*prev_stats)); in il4965_accumulative_stats()
|