[dpdk-dev] [PATCH] eal: add Bus log type

Thomas Monjalon thomas at monjalon.net
Mon Jun 19 22:54:57 CEST 2017


19/06/2017 13:03, Shreyansh Jain:
> > --- a/lib/librte_eal/common/include/rte_log.h
> > +++ b/lib/librte_eal/common/include/rte_log.h
> > @@ -87,6 +87,7 @@ extern struct rte_logs rte_logs;
> >   #define RTE_LOGTYPE_CRYPTODEV 17 /**< Log related to cryptodev. */
> >   #define RTE_LOGTYPE_EFD       18 /**< Log related to EFD. */
> >   #define RTE_LOGTYPE_EVENTDEV  19 /**< Log related to eventdev. */
> > +#define RTE_LOGTYPE_BUS       20 /**< Log related to Bus. */
> 
> Just wanted to ping - is there something wrong/unacceptable about this?

Sorry for not replying before.

The strange thing is that it is not used.
At least, the existing bus logs should be converted.
I've spotted few lines in drivers/bus/fslmc/.

And more importantly, we must switch to the new dynamic types
using rte_log_register().


More information about the dev mailing list