common/sfc_efx/base: separate target EvQ and IRQ config
[dpdk.git] / drivers / net / sfc / sfc_log.h
index a2d714a..d54277c 100644 (file)
@@ -1,6 +1,6 @@
 /* SPDX-License-Identifier: BSD-3-Clause
  *
- * Copyright(c) 2019-2020 Xilinx, Inc.
+ * Copyright(c) 2019-2021 Xilinx, Inc.
  * Copyright(c) 2016-2019 Solarflare Communications Inc.
  *
  * This software was jointly developed between OKTET Labs (under contract
@@ -73,6 +73,14 @@ extern uint32_t sfc_logtype_driver;
                        _sa->priv.logtype_main, __VA_ARGS__);           \
        } while (0)
 
+#define sfc_dbg(sa, ...) \
+       do {                                                            \
+               const struct sfc_adapter *_sa = (sa);                   \
+                                                                       \
+               SFC_LOG(_sa->priv.shared, RTE_LOG_DEBUG,                \
+                       _sa->priv.logtype_main, __VA_ARGS__);           \
+       } while (0)
+
 #define sfc_log_init(sa, ...) \
        do {                                                            \
                const struct sfc_adapter *_sa = (sa);                   \