Re: [RFC v2 03/14] lib: use dedicated logtypes

2023-12-16 Thread Andrew Rybchenko
On 12/8/23 17:59, David Marchand wrote: No printf! When a dedicated log helper exists, use it. And no usurpation please: a library should log under its logtype (see the eventdev rx adapter update for example). Note: the RTE_ETH_VALID_PORTID_OR_GOTO_ERR_RET macro is renamed for consistency with t

Re: [RFC v2 03/14] lib: use dedicated logtypes

2023-12-08 Thread Tyler Retzlaff
On Fri, Dec 08, 2023 at 03:59:37PM +0100, David Marchand wrote: > No printf! > When a dedicated log helper exists, use it. > And no usurpation please: a library should log under its logtype > (see the eventdev rx adapter update for example). > > Note: the RTE_ETH_VALID_PORTID_OR_GOTO_ERR_RET macro