111#define RTE_REGISTER_CLASS(nm, cls) \
112RTE_INIT_PRIO(classinitfn_ ##nm, CLASS) \
114 (cls).name = RTE_STR(nm); \
115 rte_class_register(&cls); \
118#define RTE_UNREGISTER_CLASS(nm, cls) \
119RTE_FINI_PRIO(classfinifn_ ##nm, CLASS) \
121 rte_class_unregister(&cls); \
void rte_class_unregister(struct rte_class *cls)
struct rte_class * rte_class_find_by_name(const char *name)
struct rte_class * rte_class_find(const struct rte_class *start, rte_class_cmp_t cmp, const void *data)
int(* rte_class_cmp_t)(const struct rte_class *cls, const void *data)
RTE_TAILQ_HEAD(rte_class_list, rte_class)
void rte_class_register(struct rte_class *cls)
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