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

Stephen Hemminger stephen at networkplumber.org
Fri Dec 8 18:00:44 CET 2023


On Fri,  8 Dec 2023 15:59:37 +0100
David Marchand <david.marchand at redhat.com> 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 the rest of eventdev (private) macros.
> 
> Cc: stable at dpdk.org
> 
> Signed-off-by: David Marchand <david.marchand at redhat.com>

Reviewed-by: Stephen Hemminger <stephen at networkplumber.org>


More information about the stable mailing list