/linux-6.6.21/drivers/net/ethernet/netronome/nfp/abm/ |
D | qdisc.c | 139 unsigned int queue, struct nfp_alink_stats *prev_stats, in __nfp_abm_stats_init() argument 148 backlog_pkts = prev_stats->backlog_pkts; in __nfp_abm_stats_init() 149 backlog_bytes = prev_stats->backlog_bytes; in __nfp_abm_stats_init() 151 err = nfp_abm_ctrl_read_q_stats(alink, band, queue, prev_stats); 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() 504 qdisc->red.band[i].prev_stats = qdisc->red.band[i].stats; in nfp_abm_gred_stats() 653 &qdisc->red.band[0].prev_stats, in nfp_abm_red_stats() [all …]
|
D | main.h | 169 struct nfp_alink_stats prev_stats; member 179 struct nfp_alink_stats prev_stats; member
|
/linux-6.6.21/drivers/net/ethernet/netronome/nfp/flower/ |
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()
|
D | main.h | 356 struct nfp_stat_pair prev_stats; member
|
/linux-6.6.21/lib/dim/ |
D | rdma_dim.c | 53 &dim->prev_stats); in rdma_dim_decision() 71 dim->prev_stats = *curr_stats; in rdma_dim_decision()
|
D | net_dim.c | 175 &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()
|
/linux-6.6.21/drivers/scsi/bnx2fc/ |
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
|
D | bnx2fc_fcoe.c | 720 memcpy(&hba->prev_stats, hba->stats_buffer, in bnx2fc_get_host_stats()
|
/linux-6.6.21/include/linux/ |
D | dim.h | 104 struct dim_stats prev_stats; member
|
/linux-6.6.21/drivers/net/ethernet/broadcom/bnxt/ |
D | bnxt_tc.h | 138 struct bnxt_tc_flow_stats prev_stats; member
|
D | bnxt_tc.c | 1626 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()
|
D | bnxt.c | 10910 struct rtnl_link_stats64 *prev_stats = &bp->net_stats_prev; in bnxt_add_prev_stats() local 10912 stats->rx_packets += prev_stats->rx_packets; in bnxt_add_prev_stats() 10913 stats->tx_packets += prev_stats->tx_packets; in bnxt_add_prev_stats() 10914 stats->rx_bytes += prev_stats->rx_bytes; in bnxt_add_prev_stats() 10915 stats->tx_bytes += prev_stats->tx_bytes; in bnxt_add_prev_stats() 10916 stats->rx_missed_errors += prev_stats->rx_missed_errors; in bnxt_add_prev_stats() 10917 stats->multicast += prev_stats->multicast; in bnxt_add_prev_stats() 10918 stats->rx_dropped += prev_stats->rx_dropped; in bnxt_add_prev_stats() 10919 stats->tx_dropped += prev_stats->tx_dropped; in bnxt_add_prev_stats()
|
/linux-6.6.21/drivers/net/wireless/intel/iwlegacy/ |
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()
|
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()
|