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];
139 const char *format, ...)
229 #define RTE_EAL_DEVARGS_FOREACH(busname, da) \
230 for (da = rte_devargs_next(busname, NULL); \
232 da = rte_devargs_next(busname, da)) \
int rte_devargs_add(enum rte_devtype devtype, const char *devargs_str)
int rte_devargs_parsef(struct rte_devargs *da, const char *format,...) __rte_format_printf(2
struct rte_devargs * rte_devargs_next(const char *busname, const struct rte_devargs *start)
unsigned int rte_devargs_type_count(enum rte_devtype devtype)
int int rte_devargs_insert(struct rte_devargs **da)
void rte_devargs_dump(FILE *f)
char name[RTE_DEV_NAME_MAX_LEN]
int rte_devargs_remove(struct rte_devargs *devargs)
#define __rte_format_printf(format_index, first_arg)
enum rte_dev_policy policy
int rte_devargs_parse(struct rte_devargs *da, const char *dev)
TAILQ_ENTRY(rte_devargs) next