X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;ds=sidebyside;f=lib%2Flibrte_eal%2Fcommon%2Finclude%2Frte_service.h;h=d8701dd4cf2bf2a7f5503287ff65ec84dcf9a300;hb=df3ff6be2b33faea3edf3c112b9bdc5b74d6f684;hp=34b41aff2ac57910d90cce0aaae1d19d8471dec2;hpb=e30dd31847d212cd1b766612cbd980c7d8240baa;p=dpdk.git diff --git a/lib/librte_eal/common/include/rte_service.h b/lib/librte_eal/common/include/rte_service.h index 34b41aff2a..d8701dd4cf 100644 --- a/lib/librte_eal/common/include/rte_service.h +++ b/lib/librte_eal/common/include/rte_service.h @@ -162,9 +162,6 @@ int32_t rte_service_runstate_set(uint32_t id, uint32_t runstate); int32_t rte_service_runstate_get(uint32_t id); /** - * @warning - * @b EXPERIMENTAL: this API may change, or be removed, without prior notice - * * This function returns whether the service may be currently executing on * at least one lcore, or definitely is not. This function can be used to * determine if, after setting the service runstate to stopped, the service @@ -178,7 +175,7 @@ int32_t rte_service_runstate_get(uint32_t id); * @retval 0 Service is not running on any lcore * @retval -EINVAL Invalid service id */ -int32_t __rte_experimental +int32_t rte_service_may_be_active(uint32_t id); /** @@ -337,7 +334,7 @@ int32_t rte_service_set_stats_enable(uint32_t id, int32_t enable); int32_t rte_service_lcore_list(uint32_t array[], uint32_t n); /** - * Get the numer of services running on the supplied lcore. + * Get the number of services running on the supplied lcore. * * @param lcore Id of the service core. * @retval >=0 Number of services registered to this core. @@ -372,7 +369,7 @@ int32_t rte_service_dump(FILE *f, uint32_t id); * -EINVAL Invalid id, attr_id or attr_value was NULL. */ int32_t rte_service_attr_get(uint32_t id, uint32_t attr_id, - uint32_t *attr_value); + uint64_t *attr_value); /** * Reset all attribute values of a service. @@ -389,9 +386,6 @@ int32_t rte_service_attr_reset_all(uint32_t id); #define RTE_SERVICE_LCORE_ATTR_LOOPS 0 /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Get an attribute from a service core. * * @param lcore Id of the service core. @@ -401,14 +395,11 @@ int32_t rte_service_attr_reset_all(uint32_t id); * -EINVAL Invalid lcore, attr_id or attr_value was NULL. * -ENOTSUP lcore is not a service core. */ -int32_t __rte_experimental +int32_t rte_service_lcore_attr_get(uint32_t lcore, uint32_t attr_id, uint64_t *attr_value); /** - * @warning - * @b EXPERIMENTAL: this API may change without prior notice - * * Reset all attribute values of a service core. * * @param lcore The service core to reset all the statistics of @@ -416,7 +407,7 @@ rte_service_lcore_attr_get(uint32_t lcore, uint32_t attr_id, * -EINVAL Invalid service id provided * -ENOTSUP lcore is not a service core. */ -int32_t __rte_experimental +int32_t rte_service_lcore_attr_reset_all(uint32_t lcore); #ifdef __cplusplus