[dpdk-dev] [PATCH 03/17] net/ionic: add log
Stephen Hemminger
stephen at networkplumber.org
Sat Oct 12 17:23:44 CEST 2019
On Sat, 12 Oct 2019 02:26:41 +0200
Alfredo Cardigliano <cardigliano at ntop.org> wrote:
> +#ifdef RTE_LIBRTE_IONIC_DEBUG_RX
> +#define ionic_rx_print(level, fmt, args...) RTE_LOG(level, PMD, \
> + "%s(): " fmt "\n", __func__, ## args)
> +#else
> +#define ionic_rx_print(level, fmt, args...) do { } while (0)
> +#endif
> +
> +#ifdef RTE_LIBRTE_IONIC_DEBUG_TX
> +#define ionic_tx_print(level, fmt, args...) RTE_LOG(level, PMD, \
> + "%s(): " fmt "\n", __func__, ## args)
Please do not add new use of LOGTYPE_PMD, add another level to your existing logtype
More information about the dev
mailing list