Thread (153 messages) flat view 153 messages, 9 authors, 15d ago
COLD15d

Revision v2 of 2 in this series.

Revisions (2)
  1. v1 [diff vs current]
  2. v2 current

[PATCH v2 07/68] examples: add missing include of rte_memcpy.h

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2026-08-21 19:28:21
Subsystem: the rest · Maintainer: Linus Torvalds

These files use rte_memcpy() but relied on rte_memcpy.h being
included indirectly via another header. Add the direct include
so that later patches which remove now-unnecessary includes of
rte_memcpy.h do not break the build.

Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
---
 examples/bbdev_app/main.c  | 1 +
 examples/dma/dmafwd.c      | 1 +
 examples/ipsec-secgw/esp.c | 1 +
 3 files changed, 3 insertions(+)
diff --git a/examples/bbdev_app/main.c b/examples/bbdev_app/main.c
index 5ac70dab59..4ef72245c9 100644
--- a/examples/bbdev_app/main.c
+++ b/examples/bbdev_app/main.c
@@ -29,6 +29,7 @@
 #include <rte_malloc.h>
 #include <rte_mbuf.h>
 #include <rte_mbuf_dyn.h>
+#include <rte_memcpy.h>
 #include <rte_memory.h>
 #include <rte_mempool.h>
 #include <rte_log.h>
diff --git a/examples/dma/dmafwd.c b/examples/dma/dmafwd.c
index a8ed09e6ae..ea2cc586d8 100644
--- a/examples/dma/dmafwd.c
+++ b/examples/dma/dmafwd.c
@@ -12,6 +12,7 @@
 #include <rte_malloc.h>
 #include <rte_ethdev.h>
 #include <rte_dmadev.h>
+#include <rte_memcpy.h>
 
 /* size of ring used for software copying between rx and tx. */
 #define RTE_LOGTYPE_DMA RTE_LOGTYPE_USER1
diff --git a/examples/ipsec-secgw/esp.c b/examples/ipsec-secgw/esp.c
index 46c3ad3ec7..7aaa81c458 100644
--- a/examples/ipsec-secgw/esp.c
+++ b/examples/ipsec-secgw/esp.c
@@ -15,6 +15,7 @@
 #include <rte_common.h>
 #include <rte_crypto.h>
 #include <rte_cryptodev.h>
+#include <rte_memcpy.h>
 #include <rte_random.h>
 
 #include "ipsec.h"
-- 
2.53.0
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help