25#include <rte_compat.h>
116#define RTE_REGISTER_CLASS(nm, cls) \
117RTE_INIT_PRIO(classinitfn_ ##nm, CLASS) \
119 (cls).name = RTE_STR(nm); \
120 rte_class_register(&cls); \
123#define RTE_UNREGISTER_CLASS(nm, cls) \
124RTE_FINI_PRIO(classfinifn_ ##nm, CLASS) \
126 rte_class_unregister(&cls); \
__rte_experimental struct rte_class * rte_class_find_by_name(const char *name)
__rte_experimental struct rte_class * rte_class_find(const struct rte_class *start, rte_class_cmp_t cmp, const void *data)
__rte_experimental void rte_class_register(struct rte_class *cls)
__rte_experimental void rte_class_unregister(struct rte_class *cls)
int(* rte_class_cmp_t)(const struct rte_class *cls, const void *data)
RTE_TAILQ_HEAD(rte_class_list, rte_class)
void *(* rte_dev_iterate_t)(const void *start, const char *devstr, const struct rte_dev_iterator *it)
rte_dev_iterate_t dev_iterate
RTE_TAILQ_ENTRY(rte_class) next