[v5,04/18] rte_power: replace rte_master_lcore with rte_main_lcore
Checks
Commit Message
The old rte_master_lcore is now replaced by rte_main_lcore.
Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
lib/librte_power/rte_power_empty_poll.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
@@ -452,7 +452,7 @@ rte_power_empty_poll_stat_init(struct ep_params **eptr, uint8_t *freq_tlb,
if (get_freq_index(LOW) > total_avail_freqs[i])
return -1;
- if (rte_get_master_lcore() != i) {
+ if (rte_get_main_lcore() != i) {
w->wrk_stats[i].lcore_id = i;
set_policy(&w->wrk_stats[i], policy);
}