25/06/2021 05:26, Xueming(Steven) Li:
> From: Thomas Monjalon <tho...@monjalon.net>
> > 23/06/2021 02:03, Xueming Li:
> > > +static int
> > > +auxiliary_parse(const char *name, void *addr) {
> > > + struct rte_auxiliary_driver *drv = NULL;
> > > + const char **out = addr;
> > > +
> > > + /* Allow dummy name to prevent bus scan. */
> > > + if (strlen(name) == 0)
> > > +         return 0;
> > 
> > Which syntax is it?
> 
> Allow empty device name "auxiliary:" to bypass entire auxiliary bus scan.

Ah OK
A suggestion of comment:
/* Skip auxiliary bus scan if name is empty. */



Reply via email to