RE: [PATCH] lib: remove duplicate prefix in logs

2024-01-25 Thread Morten Brørup
> From: David Marchand [mailto:david.march...@redhat.com] > Sent: Thursday, 25 January 2024 09.14 > > On Wed, Jan 24, 2024 at 1:17 PM Morten Brørup > wrote: > > > diff --git a/lib/dmadev/rte_dmadev.c b/lib/dmadev/rte_dmadev.c > > > index 5953a77bd6..dbaa14f262 100644 > > > --- a/lib/dmadev/rte_dm

Re: [PATCH] lib: remove duplicate prefix in logs

2024-01-25 Thread David Marchand
On Wed, Jan 24, 2024 at 1:17 PM Morten Brørup wrote: > > diff --git a/lib/dmadev/rte_dmadev.c b/lib/dmadev/rte_dmadev.c > > index 5953a77bd6..dbaa14f262 100644 > > --- a/lib/dmadev/rte_dmadev.c > > +++ b/lib/dmadev/rte_dmadev.c > > @@ -35,8 +35,7 @@ RTE_LOG_REGISTER_DEFAULT(rte_dma_logtype, INFO)

Re: [PATCH] lib: remove duplicate prefix in logs

2024-01-24 Thread fengchengwen
For dmadev part Reviewed-by: Chengwen Feng Thanks On 2024/1/24 20:04, David Marchand wrote: > RTE_LOG() macros prefixe the log messages based on the logtype. > This results in logs like: > > TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...' > TMTY: TELEMETRY: Socket creation and b

RE: [PATCH] lib: remove duplicate prefix in logs

2024-01-24 Thread Power, Ciara
ram > ; Yan, Zhirun ; Pavan > Nikhilesh ; Power, Ciara > ; Maxime Coquelin > ; Chenbo Xia ; > Andrew Rybchenko > Subject: [PATCH] lib: remove duplicate prefix in logs > > RTE_LOG() macros prefixe the log messages based on the logtype. > This results in logs like: > >

Re: [PATCH] lib: remove duplicate prefix in logs

2024-01-24 Thread Bruce Richardson
On Wed, Jan 24, 2024 at 01:26:58PM +, Bruce Richardson wrote: > On Wed, Jan 24, 2024 at 01:04:49PM +0100, David Marchand wrote: > > RTE_LOG() macros prefixe the log messages based on the logtype. > > This results in logs like: > > > > TMTY: TELEMETRY: Attempting socket bind to path '/run/user/

Re: [PATCH] lib: remove duplicate prefix in logs

2024-01-24 Thread Bruce Richardson
On Wed, Jan 24, 2024 at 01:04:49PM +0100, David Marchand wrote: > RTE_LOG() macros prefixe the log messages based on the logtype. > This results in logs like: > > TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...' > TMTY: TELEMETRY: Socket creation and binding ok > TMTY: TELEMETRY: Te

RE: [PATCH] lib: remove duplicate prefix in logs

2024-01-24 Thread Morten Brørup
> From: David Marchand [mailto:david.march...@redhat.com] > Sent: Wednesday, 24 January 2024 13.05 > > RTE_LOG() macros prefixe the log messages based on the logtype. > This results in logs like: > > TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...' > TMTY: TELEMETRY: Socket creatio

[PATCH] lib: remove duplicate prefix in logs

2024-01-24 Thread David Marchand
RTE_LOG() macros prefixe the log messages based on the logtype. This results in logs like: TMTY: TELEMETRY: Attempting socket bind to path '/run/user/...' TMTY: TELEMETRY: Socket creation and binding ok TMTY: TELEMETRY: Telemetry initialized ok Remove redundancy in some libraries following their