return strncmp(bus->name, name, strlen(bus->name));
}
-__rte_experimental
int
rte_devargs_parse(struct rte_devargs *da, const char *dev)
{
return 0;
}
-__rte_experimental
int
rte_devargs_parsef(struct rte_devargs *da, const char *format, ...)
{
return ret;
}
-int __rte_experimental
+int
rte_devargs_insert(struct rte_devargs **da)
{
struct rte_devargs *listed_da;
}
/* store a whitelist parameter for later parsing */
-__rte_experimental
int
rte_devargs_add(enum rte_devtype devtype, const char *devargs_str)
{
return -1;
}
-int __rte_experimental
+int
rte_devargs_remove(struct rte_devargs *devargs)
{
struct rte_devargs *d;
}
/* count the number of devices of a specified type */
-__rte_experimental
unsigned int
rte_devargs_type_count(enum rte_devtype devtype)
{
}
/* dump the user devices on the console */
-__rte_experimental
void
rte_devargs_dump(FILE *f)
{
}
/* bus-aware rte_devargs iterator. */
-__rte_experimental
struct rte_devargs *
rte_devargs_next(const char *busname, const struct rte_devargs *start)
{
* - 0 on success.
* - Negative errno on error.
*/
-__rte_experimental
int
rte_devargs_parse(struct rte_devargs *da, const char *dev);
* - 0 on success.
* - Negative errno on error.
*/
-__rte_experimental
int
rte_devargs_parsef(struct rte_devargs *da,
const char *format, ...)
* - 0 on success
* - A negative value on error
*/
-__rte_experimental
int rte_devargs_add(enum rte_devtype devtype, const char *devargs_str);
/**
* @return
* The number of devices.
*/
-__rte_experimental
unsigned int
rte_devargs_type_count(enum rte_devtype devtype);
* @param f
* A pointer to a file for output
*/
-__rte_experimental
void rte_devargs_dump(FILE *f);
/**
* Next rte_devargs entry matching the requested bus,
* NULL if there is none.
*/
-__rte_experimental
struct rte_devargs *
rte_devargs_next(const char *busname, const struct rte_devargs *start);