40 #include <sys/queue.h>
49 typedef int (rte_vdev_probe_t)(
const char *name,
const char *args);
54 typedef int (rte_vdev_remove_t)(
const char *name);
63 rte_vdev_remove_t *
remove;
84 #define RTE_PMD_REGISTER_VDEV(nm, vdrv)\
85 RTE_INIT(vdrvinitfn_ ##vdrv);\
86 static const char *vdrvinit_ ## nm ## _alias;\
87 static void vdrvinitfn_ ##vdrv(void)\
89 (vdrv).driver.name = RTE_STR(nm);\
90 (vdrv).driver.alias = vdrvinit_ ## nm ## _alias;\
91 rte_eal_vdrv_register(&vdrv);\
93 RTE_PMD_EXPORT_NAME(nm, __COUNTER__)
95 #define RTE_PMD_REGISTER_ALIAS(nm, alias)\
96 static const char *vdrvinit_ ## nm ## _alias = RTE_STR(alias)