Thread (76 messages) read the whole thread 76 messages, 4 authors, 2021-02-11

Re: [dpdk-dev] [PATCH v2 03/11] net/octeontx_ep: add device init and uninit

From: Jerin Jacob <hidden>
Date: 2021-01-19 12:07:13

On Mon, Jan 18, 2021 at 3:07 PM Nalla Pradeep [off-list ref] wrote:
quoted hunk ↗ jump to hunk
Add basic init and uninit function which includes
initializing fields of ethdev private structure.

Signed-off-by: Nalla Pradeep <redacted>
---
 drivers/net/octeontx_ep/otx_ep_common.h | 19 +++++-
 drivers/net/octeontx_ep/otx_ep_ethdev.c | 88 +++++++++++++++++++++++--
 2 files changed, 101 insertions(+), 6 deletions(-)
diff --git a/drivers/net/octeontx_ep/otx_ep_common.h b/drivers/net/octeontx_ep/otx_ep_common.h
index 3fa2de9ab3..1c31ea8de2 100644
--- a/drivers/net/octeontx_ep/otx_ep_common.h
+++ b/drivers/net/octeontx_ep/otx_ep_common.h
@@ -4,11 +4,28 @@
 #ifndef _OTX_EP_COMMON_H_
 #define _OTX_EP_COMMON_H_

+#define otx_ep_printf(level, fmt, args...)             \
+       rte_log(RTE_LOG_ ## level, RTE_LOGTYPE_PMD,             \
Use dynamic log scheme.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help