git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net/octeontx: support fast mbuf free
[dpdk.git]
/
lib
/
librte_power
/
power_pstate_cpufreq.c
diff --git
a/lib/librte_power/power_pstate_cpufreq.c
b/lib/librte_power/power_pstate_cpufreq.c
index
8f095e0
..
2d8a949
100644
(file)
--- a/
lib/librte_power/power_pstate_cpufreq.c
+++ b/
lib/librte_power/power_pstate_cpufreq.c
@@
-696,7
+696,8
@@
power_pstate_cpufreq_freq_up(unsigned int lcore_id)
}
pi = &lcore_power_info[lcore_id];
- if (pi->curr_idx == 0)
+ if (pi->curr_idx == 0 ||
+ (pi->curr_idx == 1 && pi->turbo_available && !pi->turbo_enable))
return 0;
/* Frequencies in the array are from high to low. */