5 #ifndef _RTE_DEVARGS_H_ 6 #define _RTE_DEVARGS_H_ 24 #include <sys/queue.h> 25 #include <rte_compat.h> 38 #define RTE_DEVTYPE_WHITELISTED_PCI \ 39 RTE_DEPRECATED(RTE_DEVTYPE_WHITELISTED_PCI) RTE_DEVTYPE_ALLOWED 40 #define RTE_DEVTYPE_BLACKLISTED_PCI \ 41 RTE_DEPRECATED(RTE_DEVTYPE_BLACKLISTED_PCI) RTE_DEVTYPE_BLOCKED 61 char name[RTE_DEV_NAME_MAX_LEN];
145 const char *format, ...)
235 #define RTE_EAL_DEVARGS_FOREACH(busname, da) \ 236 for (da = rte_devargs_next(busname, NULL); \ 238 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