1 /* SPDX-License-Identifier: BSD-3-Clause
3 * Copyright(c) 2019-2020 Xilinx, Inc.
4 * Copyright(c) 2019 Solarflare Communications Inc.
6 * This software was jointly developed between OKTET Labs (under contract
7 * for Solarflare) and Solarflare Communications, Inc.
12 #include "sfc_efx_log.h"
14 uint32_t sfc_efx_logtype;
16 RTE_INIT(sfc_efx_register_logtype)
20 ret = rte_log_register_type_and_pick_level("pmd.common.sfc_efx",
22 sfc_efx_logtype = (ret < 0) ? RTE_LOGTYPE_PMD : ret;