f-stack/dpdk/drivers/net/e1000/e1000_logs.c

16 lines
428 B
C
Raw Normal View History

2019-06-25 11:12:58 +00:00
/* SPDX-License-Identifier: BSD-3-Clause
* Copyright(c) 2018 Intel Corporation
*/
2022-09-06 04:00:10 +00:00
#include <rte_ethdev.h>
2019-06-25 11:12:58 +00:00
#include "e1000_logs.h"
2022-09-06 04:00:10 +00:00
RTE_LOG_REGISTER_SUFFIX(e1000_logtype_init, init, NOTICE)
RTE_LOG_REGISTER_SUFFIX(e1000_logtype_driver, driver, NOTICE)
#ifdef RTE_ETHDEV_DEBUG_RX
RTE_LOG_REGISTER_SUFFIX(e1000_logtype_rx, rx, DEBUG)
2020-06-18 16:55:50 +00:00
#endif
2022-09-06 04:00:10 +00:00
#ifdef RTE_ETHDEV_DEBUG_TX
RTE_LOG_REGISTER_SUFFIX(e1000_logtype_tx, tx, DEBUG)
2020-06-18 16:55:50 +00:00
#endif