[dpdk-dev] [PATCH v10 08/27] devargs: add function to parse device layers
Thomas Monjalon
thomas at monjalon.net
Wed Jul 11 11:30:32 CEST 2018
11/07/2018 10:41, Gaëtan Rivet:
> > > + struct rte_bus *bus; /**< bus handle. */
> > > + struct rte_class *cls; /**< class handle. */
> >
> > "class" is more readable than "cls"
> >
>
> I was thinking that maybe this could be a problem when trying to build
> with C++. The EAL headers in DPDK are meant to be included in C++ apps,
> I think ``class`` would be an issue then.
Yes, right.
So only options are "cls" or "devclass".
Up to you.
> If I'm mistaken, then sure, class is a better name.
More information about the dev
mailing list