Home
last modified time | relevance | path

Searched refs:prev_stats (Results 1 – 14 of 14) sorted by relevance

/linux/drivers/net/ethernet/netronome/nfp/flower/
A Dqos_conf.c263 struct nfp_stat_pair *prev_stats; in nfp_flower_stats_rlim_reply() local
278 prev_stats = &repr_priv->qos_table.prev_stats; in nfp_flower_stats_rlim_reply()
287 prev_stats->pkts = curr_stats->pkts; in nfp_flower_stats_rlim_reply()
288 prev_stats->bytes = curr_stats->bytes; in nfp_flower_stats_rlim_reply()
373 struct nfp_stat_pair *prev_stats; in nfp_flower_stats_rate_limiter() local
391 prev_stats = &repr_priv->qos_table.prev_stats; in nfp_flower_stats_rate_limiter()
392 diff_pkts = curr_stats->pkts - prev_stats->pkts; in nfp_flower_stats_rate_limiter()
393 diff_bytes = curr_stats->bytes - prev_stats->bytes; in nfp_flower_stats_rate_limiter()
394 prev_stats->pkts = curr_stats->pkts; in nfp_flower_stats_rate_limiter()
395 prev_stats->bytes = curr_stats->bytes; in nfp_flower_stats_rate_limiter()
A Dmain.h248 struct nfp_stat_pair prev_stats; member
/linux/drivers/net/ethernet/netronome/nfp/abm/
A Dqdisc.c148 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 …]
A Dmain.h169 struct nfp_alink_stats prev_stats; member
179 struct nfp_alink_stats prev_stats; member
/linux/lib/dim/
A Dnet_dim.c175 &dim->prev_stats); in net_dim_decision()
189 &dim->prev_stats); in net_dim_decision()
213 dim->prev_stats = *curr_stats; in net_dim_decision()
A Drdma_dim.c53 &dim->prev_stats); in rdma_dim_decision()
71 dim->prev_stats = *curr_stats; in rdma_dim_decision()
/linux/drivers/scsi/bnx2fc/
A Dbnx2fc.h159 if (hba->prev_stats.stat.cnt <= val) \
160 val -= hba->prev_stats.stat.cnt; \
162 val += (0xfffffff - hba->prev_stats.stat.cnt); \
234 struct fcoe_statistics_params prev_stats; member
A Dbnx2fc_fcoe.c726 memcpy(&hba->prev_stats, hba->stats_buffer, in bnx2fc_get_host_stats()
/linux/include/linux/
A Ddim.h104 struct dim_stats prev_stats; member
/linux/drivers/net/ethernet/broadcom/bnxt/
A Dbnxt_tc.h138 struct bnxt_tc_flow_stats prev_stats; member
A Dbnxt_tc.c1626 struct bnxt_tc_flow_stats stats, *curr_stats, *prev_stats; in bnxt_tc_get_flow_stats() local
1640 prev_stats = &flow->prev_stats; in bnxt_tc_get_flow_stats()
1643 stats.packets = curr_stats->packets - prev_stats->packets; in bnxt_tc_get_flow_stats()
1644 stats.bytes = curr_stats->bytes - prev_stats->bytes; in bnxt_tc_get_flow_stats()
1645 *prev_stats = *curr_stats; in bnxt_tc_get_flow_stats()
1774 if (flow->stats.packets != flow->prev_stats.packets) in bnxt_tc_flow_stats_batch_update()
A Dbnxt.c10612 struct rtnl_link_stats64 *prev_stats = &bp->net_stats_prev; in bnxt_add_prev_stats() local
10614 stats->rx_packets += prev_stats->rx_packets; in bnxt_add_prev_stats()
10615 stats->tx_packets += prev_stats->tx_packets; in bnxt_add_prev_stats()
10616 stats->rx_bytes += prev_stats->rx_bytes; in bnxt_add_prev_stats()
10617 stats->tx_bytes += prev_stats->tx_bytes; in bnxt_add_prev_stats()
10618 stats->rx_missed_errors += prev_stats->rx_missed_errors; in bnxt_add_prev_stats()
10619 stats->multicast += prev_stats->multicast; in bnxt_add_prev_stats()
10620 stats->rx_dropped += prev_stats->rx_dropped; in bnxt_add_prev_stats()
10621 stats->tx_dropped += prev_stats->tx_dropped; in bnxt_add_prev_stats()
/linux/drivers/net/wireless/intel/iwlegacy/
A D3945.c373 __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()
A D4965-mac.c1323 __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()

Completed in 69 milliseconds