5 #ifndef _RTE_DEVARGS_H_ 6 #define _RTE_DEVARGS_H_ 24 #include <rte_compat.h> 33 #define RTE_DEVARGS_KEY_BUS "bus" 41 #define RTE_DEVARGS_KEY_CLASS "class" 49 #define RTE_DEVARGS_KEY_DRIVER "driver" 78 char name[RTE_DEV_NAME_MAX_LEN];
161 const char *format, ...)
261 #define RTE_EAL_DEVARGS_FOREACH(busname, da) \ 262 for (da = rte_devargs_next(busname, NULL); \ 264 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
RTE_TAILQ_ENTRY(rte_devargs) next
int rte_devargs_parse(struct rte_devargs *da, const char *dev)