}
-/* Freqency scale down timer callback */
+/* Frequency scale down timer callback */
static void
power_timer_cb(__rte_unused struct rte_timer *tim,
__rte_unused void *arg)
ep_nep[nb_rx == 0]++;
fp_nfp[nb_rx == MAX_PKT_BURST]++;
poll_count++;
- RTE_LOG(INFO, L3FWD_POWER,
- "lcore %u has woken up on port %d queue %d\n",
- rte_lcore_id(), portid, queueid);
if (unlikely(nb_rx == 0))
continue;
ret = rte_metrics_update_values(RTE_METRICS_GLOBAL, telstats_index,
values, RTE_DIM(values));
if (ret < 0)
- RTE_LOG(WARNING, POWER, "failed to update metrcis\n");
+ RTE_LOG(WARNING, POWER, "failed to update metrics\n");
}
static int