Re: [dpdk-dev] [PATCH v2 1/3] log: choose EAL log type on registration failure

2021-04-06 Thread Thomas Monjalon
06/04/2021 11:17, David Marchand: > On Mon, Apr 5, 2021 at 12:03 PM Thomas Monjalon wrote: > > > > In the unlikely case where something goes wrong > > while registering a log type, > > the fallback is to use the log type 0, assigned to EAL. > > How about simply: > the fallback is to use the EAL l

Re: [dpdk-dev] [PATCH v2 1/3] log: choose EAL log type on registration failure

2021-04-06 Thread David Marchand
On Mon, Apr 5, 2021 at 12:03 PM Thomas Monjalon wrote: > > In the unlikely case where something goes wrong > while registering a log type, > the fallback is to use the log type 0, assigned to EAL. How about simply: the fallback is to use the EAL log type. > > Signed-off-by: Thomas Monjalon Revi

[dpdk-dev] [PATCH v2 1/3] log: choose EAL log type on registration failure

2021-04-05 Thread Thomas Monjalon
In the unlikely case where something goes wrong while registering a log type, the fallback is to use the log type 0, assigned to EAL. Signed-off-by: Thomas Monjalon --- lib/librte_eal/include/rte_log.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/librte_eal/include/rte_log.h b/lib/l