Re: [PATCH] drivers: use dedicated logtypes

2024-02-01 Thread David Marchand
On Mon, Dec 18, 2023 at 2:59 PM David Marchand wrote: > > When a driver dedicated logtype exists, use it instead of the generic > PMD logtype. > > This has been done partially automatically with: > > $ for file in $(git grep -l RTE_LOG.*PMD.*fmt drivers/'**.h' \ > :^drivers/common/cnxk/roc_platf

Re: [PATCH] drivers: use dedicated logtypes

2024-01-12 Thread Maxime Coquelin
On 12/18/23 14:59, David Marchand wrote: diff --git a/drivers/net/virtio/virtio_logs.h b/drivers/net/virtio/virtio_logs.h index 9b1b1defc5..01911514bd 100644 --- a/drivers/net/virtio/virtio_logs.h +++ b/drivers/net/virtio/virtio_logs.h @@ -16,19 +16,20 @@ extern int virtio_logtype_init; #

[PATCH] drivers: use dedicated logtypes

2023-12-18 Thread David Marchand
When a driver dedicated logtype exists, use it instead of the generic PMD logtype. This has been done partially automatically with: $ for file in $(git grep -l RTE_LOG.*PMD.*fmt drivers/'**.h' \ :^drivers/common/cnxk/roc_platform.h) do tail=${file#drivers/*/*/} dir=${file%%$tail} ! git gr