test/kvargs: fix invalid cases check
[dpdk.git] / lib / librte_power / rte_power_empty_poll.h
index c1ad5c2..6ba0a37 100644 (file)
@@ -59,7 +59,7 @@ struct freq_threshold {
        uint32_t cur_train_iter;
 };
 
-/* Each Worder Thread Empty Poll Stats */
+/* Each Worker Thread Empty Poll Stats */
 struct priority_worker {
 
        /* Current dequeue and throughput counts */
@@ -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