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
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;
#
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
3 matches
Mail list logo