Lines Matching defs:lcore
61 /**< List of queues associated with this lcore */
203 * no need change the lcore sleep target counter because this lcore will
274 /* can this lcore sleep? */
335 /* can this lcore sleep? */
375 /* can this lcore sleep? */
416 check_scale(unsigned int lcore)
429 if (rte_power_init(lcore))
654 /* disable power library on this lcore if this was last queue */
703 rte_power_pmd_mgmt_set_scaling_freq_min(unsigned int lcore, unsigned int min)
705 if (lcore >= RTE_MAX_LCORE) {
706 POWER_LOG(ERR, "Invalid lcore ID: %u", lcore);
710 if (min > scale_freq_max[lcore]) {
714 scale_freq_min[lcore] = min;
720 rte_power_pmd_mgmt_set_scaling_freq_max(unsigned int lcore, unsigned int max)
722 if (lcore >= RTE_MAX_LCORE) {
723 POWER_LOG(ERR, "Invalid lcore ID: %u", lcore);
730 if (max < scale_freq_min[lcore]) {
735 scale_freq_max[lcore] = max;
741 rte_power_pmd_mgmt_get_scaling_freq_min(unsigned int lcore)
743 if (lcore >= RTE_MAX_LCORE) {
744 POWER_LOG(ERR, "Invalid lcore ID: %u", lcore);
748 if (scale_freq_max[lcore] == 0)
751 return scale_freq_min[lcore];
755 rte_power_pmd_mgmt_get_scaling_freq_max(unsigned int lcore)
757 if (lcore >= RTE_MAX_LCORE) {
758 POWER_LOG(ERR, "Invalid lcore ID: %u", lcore);
762 if (scale_freq_max[lcore] == UINT32_MAX) {
767 return scale_freq_max[lcore];