X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_power%2Frte_power_empty_poll.h;h=6ba0a3707406507b812b0d452cc80ca9f236ea8e;hb=b80924d677c77ec023a0585c27004ba250045d11;hp=33f24e0c33d5bce422e80c8e59c1ea22357bac3a;hpb=8bd5f07c7a1ac0c5b8d16758efc3ada3e16b0adc;p=dpdk.git diff --git a/lib/librte_power/rte_power_empty_poll.h b/lib/librte_power/rte_power_empty_poll.h index 33f24e0c33..6ba0a37074 100644 --- a/lib/librte_power/rte_power_empty_poll.h +++ b/lib/librte_power/rte_power_empty_poll.h @@ -142,14 +142,16 @@ struct ep_policy { * - 0 on success. * - Negative on error. */ -int __rte_experimental +__rte_experimental +int rte_power_empty_poll_stat_init(struct ep_params **eptr, uint8_t *freq_tlb, struct ep_policy *policy); /** * Free the resource hold by power management system. */ -void __rte_experimental +__rte_experimental +void rte_power_empty_poll_stat_free(void); /** @@ -163,7 +165,8 @@ rte_power_empty_poll_stat_free(void); * - 0 on success. * - Negative on error. */ -int __rte_experimental +__rte_experimental +int rte_power_empty_poll_stat_update(unsigned int lcore_id); /** @@ -178,7 +181,8 @@ rte_power_empty_poll_stat_update(unsigned int lcore_id); * - 0 on success. * - Negative on error. */ -int __rte_experimental +__rte_experimental +int rte_power_poll_stat_update(unsigned int lcore_id, uint8_t nb_pkt); /** @@ -190,7 +194,8 @@ rte_power_poll_stat_update(unsigned int lcore_id, uint8_t nb_pkt); * @return * Current lcore empty poll counter value. */ -uint64_t __rte_experimental +__rte_experimental +uint64_t rte_power_empty_poll_stat_fetch(unsigned int lcore_id); /** @@ -202,7 +207,8 @@ rte_power_empty_poll_stat_fetch(unsigned int lcore_id); * @return * Current lcore valid poll counter value. */ -uint64_t __rte_experimental +__rte_experimental +uint64_t rte_power_poll_stat_fetch(unsigned int lcore_id); /** @@ -213,7 +219,8 @@ rte_power_poll_stat_fetch(unsigned int lcore_id); * @param arg * The customized parameter */ -void __rte_experimental +__rte_experimental +void rte_empty_poll_detection(struct rte_timer *tim, void *arg); #ifdef __cplusplus