5 #ifndef _RTE_SERVICE_H_ 6 #define _RTE_SERVICE_H_ 32 #include <sys/queue.h> 34 #include <rte_config.h> 37 #define RTE_SERVICE_NAME_MAX 32 47 #define RTE_SERVICE_CAP_MT_SAFE (1 << 0) 181 int32_t __rte_experimental
231 uint32_t serialize_multithread_unsafe);
361 #define RTE_SERVICE_ATTR_CYCLES 0 366 #define RTE_SERVICE_ATTR_CALL_COUNT 1 375 uint64_t *attr_value);
389 #define RTE_SERVICE_LCORE_ATTR_LOOPS 0 404 int32_t __rte_experimental
406 uint64_t *attr_value);
419 int32_t __rte_experimental
int32_t rte_service_lcore_stop(uint32_t lcore_id)
int32_t rte_service_lcore_list(uint32_t array[], uint32_t n)
int32_t rte_service_map_lcore_set(uint32_t service_id, uint32_t lcore, uint32_t enable)
int32_t rte_service_attr_get(uint32_t id, uint32_t attr_id, uint64_t *attr_value)
int32_t rte_service_run_iter_on_app_lcore(uint32_t id, uint32_t serialize_multithread_unsafe)
int32_t rte_service_lcore_add(uint32_t lcore)
int32_t rte_service_lcore_del(uint32_t lcore)
int32_t rte_service_attr_reset_all(uint32_t id)
int32_t rte_service_set_stats_enable(uint32_t id, int32_t enable)
int32_t __rte_experimental rte_service_lcore_attr_get(uint32_t lcore, uint32_t attr_id, uint64_t *attr_value)
int32_t rte_service_map_lcore_get(uint32_t service_id, uint32_t lcore)
int32_t rte_service_runstate_set(uint32_t id, uint32_t runstate)
int32_t rte_service_set_runstate_mapped_check(uint32_t id, int32_t enable)
int32_t __rte_experimental rte_service_may_be_active(uint32_t id)
int32_t __rte_experimental rte_service_lcore_attr_reset_all(uint32_t lcore)
int32_t rte_service_lcore_reset_all(void)
int32_t rte_service_probe_capability(uint32_t id, uint32_t capability)
int32_t rte_service_lcore_count(void)
int32_t rte_service_runstate_get(uint32_t id)
uint32_t rte_service_get_count(void)
int32_t rte_service_get_by_name(const char *name, uint32_t *service_id)
int32_t rte_service_lcore_start(uint32_t lcore_id)
const char * rte_service_get_name(uint32_t id)
int32_t rte_service_dump(FILE *f, uint32_t id)
int32_t rte_service_lcore_count_services(uint32_t lcore)