5 #ifndef _RTE_DEVARGS_H_ 6 #define _RTE_DEVARGS_H_ 24 #include <sys/queue.h> 25 #include <rte_compat.h> 34 #define RTE_DEVARGS_KEY_BUS "bus" 42 #define RTE_DEVARGS_KEY_CLASS "class" 50 #define RTE_DEVARGS_KEY_DRIVER "driver" 62 #define RTE_DEVTYPE_WHITELISTED_PCI \ 63 RTE_DEPRECATED(RTE_DEVTYPE_WHITELISTED_PCI) RTE_DEVTYPE_ALLOWED 64 #define RTE_DEVTYPE_BLACKLISTED_PCI \ 65 RTE_DEPRECATED(RTE_DEVTYPE_BLACKLISTED_PCI) RTE_DEVTYPE_BLOCKED 85 char name[RTE_DEV_NAME_MAX_LEN];
168 const char *format, ...)
268 #define RTE_EAL_DEVARGS_FOREACH(busname, da) \ 269 for (da = rte_devargs_next(busname, NULL); \ 271 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)
int __rte_experimental void rte_devargs_reset(struct rte_devargs *da)
unsigned int rte_devargs_type_count(enum rte_devtype devtype)
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