git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
common/sfc_efx/base: separate target EvQ and IRQ config
[dpdk.git]
/
drivers
/
net
/
sfc
/
sfc_log.h
diff --git
a/drivers/net/sfc/sfc_log.h
b/drivers/net/sfc/sfc_log.h
index
a2d714a
..
d54277c
100644
(file)
--- a/
drivers/net/sfc/sfc_log.h
+++ b/
drivers/net/sfc/sfc_log.h
@@
-1,6
+1,6
@@
/* SPDX-License-Identifier: BSD-3-Clause
*
/* SPDX-License-Identifier: BSD-3-Clause
*
- * Copyright(c) 2019-202
0
Xilinx, Inc.
+ * Copyright(c) 2019-202
1
Xilinx, Inc.
* Copyright(c) 2016-2019 Solarflare Communications Inc.
*
* This software was jointly developed between OKTET Labs (under contract
* 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)
_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); \
#define sfc_log_init(sa, ...) \
do { \
const struct sfc_adapter *_sa = (sa); \