Re: [dpdk-dev] [PATCH] devtools: check logtype format

2021-05-11 Thread David Marchand
On Fri, Mar 19, 2021 at 9:38 PM David Marchand wrote: > > Enforce that added logtypes follow the convention: > - for lib/librte_XXX: lib.XXX and lib.XXX.* > - for drivers/class/XXX: pmd.class.XXX and pmd.class.XXX.* As discussed offlist, I dropped this idea. Instead we can use helpers that provi

Re: [dpdk-dev] [PATCH] devtools: check logtype format

2021-03-21 Thread Andrew Rybchenko
On 3/20/21 10:26 AM, Thomas Monjalon wrote: 19/03/2021 21:37, David Marchand: Enforce that added logtypes follow the convention: - for lib/librte_XXX: lib.XXX and lib.XXX.* - for drivers/class/XXX: pmd.class.XXX and pmd.class.XXX.* What about common drivers which skip the "common" part: pmd.XX

Re: [dpdk-dev] [PATCH] devtools: check logtype format

2021-03-20 Thread Thomas Monjalon
19/03/2021 21:37, David Marchand: > Enforce that added logtypes follow the convention: > - for lib/librte_XXX: lib.XXX and lib.XXX.* > - for drivers/class/XXX: pmd.class.XXX and pmd.class.XXX.* What about common drivers which skip the "common" part: pmd.XXX?

[dpdk-dev] [PATCH] devtools: check logtype format

2021-03-19 Thread David Marchand
Enforce that added logtypes follow the convention: - for lib/librte_XXX: lib.XXX and lib.XXX.* - for drivers/class/XXX: pmd.class.XXX and pmd.class.XXX.* Signed-off-by: David Marchand --- devtools/checkpatches.sh | 44 1 file changed, 44 insertions(+) di