[dpdk-dev] [PATCH 5/5] librte_ethdev: add to use apistats

Stephen Hemminger stephen at networkplumber.org
Sun Dec 6 18:47:11 CET 2020


On Fri, 04 Dec 2020 16:51:09 +0900
Hideyuki Yamashita <yamashita.hideyuki at ntt-tx.co.jp> wrote:

> +
> +/* Macros for printing using RTE_LOG */
> +#define RTE_LOGTYPE_APISTATS RTE_LOGTYPE_USER1
> +

Please don't use static logtypes.
Better to allocate a dynamic logtype value and use that.


More information about the dev mailing list