Lines Matching defs:curr_stats
287 net_dim_decision(struct net_dim_stats *curr_stats,
297 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats);
310 stats_res = net_dim_stats_compare(curr_stats, &dim->prev_stats);
333 dim->prev_stats = *curr_stats;
356 struct net_dim_stats *curr_stats)
367 curr_stats->ppms = DIV_ROUND_UP(npkts * USEC_PER_MSEC, delta_us);
368 curr_stats->bpms = DIV_ROUND_UP(nbytes * USEC_PER_MSEC, delta_us);
369 curr_stats->epms = DIV_ROUND_UP(NET_DIM_NEVENTS * USEC_PER_MSEC,
377 struct net_dim_stats curr_stats;
392 &curr_stats);
393 if (net_dim_decision(&curr_stats, dim)) {