Searched refs:curr_stats (Results 1 – 4 of 4) sorted by relevance
302 static inline bool net_dim_decision(struct net_dim_stats *curr_stats, in net_dim_decision() argument312 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats); in net_dim_decision()325 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats); in net_dim_decision()349 dim->prev_stats = *curr_stats; in net_dim_decision()370 struct net_dim_stats *curr_stats) in net_dim_calc_stats() argument381 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us); in net_dim_calc_stats()382 curr_stats->bpms = DIV_ROUND_UP(nbytes * USEC_PER_MSEC, delta_us); in net_dim_calc_stats()383 curr_stats->epms = DIV_ROUND_UP(NET_DIM_NEVENTS * USEC_PER_MSEC, in net_dim_calc_stats()390 struct net_dim_stats curr_stats; in net_dim() local401 &curr_stats); in net_dim()[all …]
747 #define AQ_SDELTA(_N_) (self->curr_stats._N_ += \ in hw_atl_utils_update_stats()770 self->curr_stats.dma_pkt_rc = hw_atl_stats_rx_dma_good_pkt_counterlsw_get(self); in hw_atl_utils_update_stats()771 self->curr_stats.dma_pkt_tc = hw_atl_stats_tx_dma_good_pkt_counterlsw_get(self); in hw_atl_utils_update_stats()772 self->curr_stats.dma_oct_rc = hw_atl_stats_rx_dma_good_octet_counterlsw_get(self); in hw_atl_utils_update_stats()773 self->curr_stats.dma_oct_tc = hw_atl_stats_tx_dma_good_octet_counterlsw_get(self); in hw_atl_utils_update_stats()782 return &self->curr_stats; in hw_atl_utils_get_hw_stats()
117 struct aq_stats_s curr_stats; member
1387 struct bnxt_tc_flow_stats stats, *curr_stats, *prev_stats; in bnxt_tc_get_flow_stats() local1400 curr_stats = &flow->stats; in bnxt_tc_get_flow_stats()1404 stats.packets = curr_stats->packets - prev_stats->packets; in bnxt_tc_get_flow_stats()1405 stats.bytes = curr_stats->bytes - prev_stats->bytes; in bnxt_tc_get_flow_stats()1406 *prev_stats = *curr_stats; in bnxt_tc_get_flow_stats()