33 #ifndef _RTE_SERVICE_H_ 34 #define _RTE_SERVICE_H_ 60 #include <sys/queue.h> 67 #define RTE_SERVICE_NAME_MAX 32 77 #define RTE_SERVICE_CAP_MT_SAFE (1 << 0) 150 uint32_t capability);
int32_t rte_service_disable_on_lcore(struct rte_service_spec *service, uint32_t lcore)
int32_t rte_service_lcore_stop(uint32_t lcore_id)
int32_t rte_service_lcore_list(uint32_t array[], uint32_t n)
char name[RTE_SERVICE_NAME_MAX]
int32_t rte_service_lcore_add(uint32_t lcore)
int32_t rte_service_probe_capability(const struct rte_service_spec *service, uint32_t capability)
int32_t rte_service_enable_on_lcore(struct rte_service_spec *service, uint32_t lcore)
int32_t rte_service_lcore_del(uint32_t lcore)
int32_t rte_service_get_enabled_on_lcore(struct rte_service_spec *service, uint32_t lcore)
int32_t rte_service_stop(struct rte_service_spec *service)
int32_t rte_service_start(struct rte_service_spec *service)
const char * rte_service_get_name(const struct rte_service_spec *service)
int32_t rte_service_lcore_reset_all(void)
int32_t rte_service_set_stats_enable(struct rte_service_spec *service, int32_t enable)
int32_t rte_service_lcore_count(void)
struct rte_service_spec * rte_service_get_by_name(const char *name)
uint32_t rte_service_get_count(void)
int32_t rte_service_lcore_start(uint32_t lcore_id)
struct rte_service_spec * rte_service_get_by_id(uint32_t id)
int32_t rte_service_is_running(const struct rte_service_spec *service)
int32_t rte_service_dump(FILE *f, struct rte_service_spec *service)