5 #ifndef _RTE_DEVARGS_H_
6 #define _RTE_DEVARGS_H_
24 #include <sys/queue.h>
25 #include <rte_compat.h>
32 RTE_DEVTYPE_WHITELISTED_PCI,
33 RTE_DEVTYPE_BLACKLISTED_PCI,
55 char name[RTE_DEV_NAME_MAX_LEN];
141 const char *format, ...)
142 __attribute__((format(printf, 2, 0)));
237 #define RTE_EAL_DEVARGS_FOREACH(busname, da) \
238 for (da = rte_devargs_next(busname, NULL); \
240 da = rte_devargs_next(busname, da)) \
__rte_experimental int rte_devargs_parsef(struct rte_devargs *da, const char *format,...)
__rte_experimental void rte_devargs_dump(FILE *f)
__rte_experimental int rte_devargs_remove(struct rte_devargs *devargs)
__rte_experimental int rte_devargs_parse(struct rte_devargs *da, const char *dev)
__rte_experimental int rte_devargs_insert(struct rte_devargs **da)
__rte_experimental struct rte_devargs * rte_devargs_next(const char *busname, const struct rte_devargs *start)
__rte_experimental int rte_devargs_add(enum rte_devtype devtype, const char *devargs_str)
char name[RTE_DEV_NAME_MAX_LEN]
enum rte_dev_policy policy
__rte_experimental unsigned int rte_devargs_type_count(enum rte_devtype devtype)
TAILQ_ENTRY(rte_devargs) next