Re: [dpdk-dev] [PATCH v4] log: register with standardized names

2021-05-11 Thread Thomas Monjalon
11/05/2021 14:52, Bruce Richardson: > On Tue, May 11, 2021 at 02:38:10PM +0200, Thomas Monjalon wrote: > > From: David Marchand > > > > Let's try to enforce the convention where most drivers use a pmd. logtype > > with their class reflected in it, and libraries use a lib. logtype. > > > > Introd

Re: [dpdk-dev] [PATCH v4] log: register with standardized names

2021-05-11 Thread Bruce Richardson
On Tue, May 11, 2021 at 02:38:10PM +0200, Thomas Monjalon wrote: > From: David Marchand > > Let's try to enforce the convention where most drivers use a pmd. logtype > with their class reflected in it, and libraries use a lib. logtype. > > Introduce two new macros: > - RTE_LOG_REGISTER_DEFAULT c

[dpdk-dev] [PATCH v4] log: register with standardized names

2021-05-11 Thread Thomas Monjalon
From: David Marchand Let's try to enforce the convention where most drivers use a pmd. logtype with their class reflected in it, and libraries use a lib. logtype. Introduce two new macros: - RTE_LOG_REGISTER_DEFAULT can be used when a single logtype is used in a component. It is associated to