[PATCH v2 06/68] app: add missing include of rte_memcpy.h

Stephen Hemminger <[email protected]>
Newsgroups org.dpdk.dev
Message-ID <[email protected]>
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 <[email protected]>
---
 app/graph/ip4_output_hook.c                    | 1 +
 app/test-bbdev/test_bbdev_perf.c               | 1 +
 app/test-compress-perf/comp_perf_test_common.c | 1 +
 app/test-compress-perf/comp_perf_test_verify.c | 1 +
 app/test-dma-perf/benchmark.c                  | 1 +
 app/test-mldev/test_common.c                   | 1 +
 app/test-mldev/test_inference_common.c         | 1 +
 app/test/test_compressdev.c                    | 1 +
 app/test/test_cryptodev_crosscheck.c           | 1 +
 app/test/test_event_crypto_adapter.c           | 1 +
 10 files changed, 10 insertions(+)

diff --git a/app/graph/ip4_output_hook.c b/app/graph/ip4_output_hook.c
index 8757f294cb..16e81d39d9 100644
--- a/app/graph/ip4_output_hook.c
+++ b/app/graph/ip4_output_hook.c
@@ -5,6 +5,7 @@
 #include <rte_graph.h>
 #include <rte_graph_worker.h>
 #include <rte_graph_feature_arc_worker.h>
+#include <rte_memcpy.h>
 
 #include "rte_node_ip4_api.h"
 
diff --git a/app/test-bbdev/test_bbdev_perf.c b/app/test-bbdev/test_bbdev_perf.c
index 9fb0a25948..d6f49549eb 100644
--- a/app/test-bbdev/test_bbdev_perf.c
+++ b/app/test-bbdev/test_bbdev_perf.c
@@ -15,6 +15,7 @@
 #include <rte_cycles.h>
 #include <rte_lcore.h>
 #include <rte_malloc.h>
+#include <rte_memcpy.h>
 #include <rte_random.h>
 #include <rte_hexdump.h>
 #include <rte_interrupts.h>
diff --git a/app/test-compress-perf/comp_perf_test_common.c b/app/test-compress-perf/comp_perf_test_common.c
index 78487196ad..0841e27cce 100644
--- a/app/test-compress-perf/comp_perf_test_common.c
+++ b/app/test-compress-perf/comp_perf_test_common.c
@@ -6,6 +6,7 @@
 #include <rte_eal.h>
 #include <rte_log.h>
 #include <rte_compressdev.h>
+#include <rte_memcpy.h>
 
 #include "comp_perf.h"
 #include "comp_perf_options.h"
diff --git a/app/test-compress-perf/comp_perf_test_verify.c b/app/test-compress-perf/comp_perf_test_verify.c
index 66425d7e3c..12a5f8b764 100644
--- a/app/test-compress-perf/comp_perf_test_verify.c
+++ b/app/test-compress-perf/comp_perf_test_verify.c
@@ -8,6 +8,7 @@
 #include <rte_eal.h>
 #include <rte_log.h>
 #include <rte_compressdev.h>
+#include <rte_memcpy.h>
 
 #include "comp_perf_test_verify.h"
 #include "comp_perf_test_common.h"
diff --git a/app/test-dma-perf/benchmark.c b/app/test-dma-perf/benchmark.c
index c0ffc859bd..f415f73cb2 100644
--- a/app/test-dma-perf/benchmark.c
+++ b/app/test-dma-perf/benchmark.c
@@ -7,6 +7,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 
+#include <rte_memcpy.h>
 #include <rte_time.h>
 #include <rte_mbuf.h>
 #include <rte_dmadev.h>
diff --git a/app/test-mldev/test_common.c b/app/test-mldev/test_common.c
index 90e591f205..3c095d3abf 100644
--- a/app/test-mldev/test_common.c
+++ b/app/test-mldev/test_common.c
@@ -6,6 +6,7 @@
 
 #include <rte_common.h>
 #include <rte_malloc.h>
+#include <rte_memcpy.h>
 #include <rte_memory.h>
 #include <rte_mldev.h>
 
diff --git a/app/test-mldev/test_inference_common.c b/app/test-mldev/test_inference_common.c
index 3b77f37010..e21d1311b3 100644
--- a/app/test-mldev/test_inference_common.c
+++ b/app/test-mldev/test_inference_common.c
@@ -13,6 +13,7 @@
 #include <rte_launch.h>
 #include <rte_lcore.h>
 #include <rte_malloc.h>
+#include <rte_memcpy.h>
 #include <rte_memzone.h>
 #include <rte_mldev.h>
 
diff --git a/app/test/test_compressdev.c b/app/test/test_compressdev.c
index 293d1d757f..73e2d4bbbe 100644
--- a/app/test/test_compressdev.c
+++ b/app/test/test_compressdev.c
@@ -10,6 +10,7 @@
 
 #include <rte_cycles.h>
 #include <rte_malloc.h>
+#include <rte_memcpy.h>
 #include <rte_mempool.h>
 #include <rte_mbuf.h>
 #include <rte_compressdev.h>
diff --git a/app/test/test_cryptodev_crosscheck.c b/app/test/test_cryptodev_crosscheck.c
index bb21c3bc50..84e05b8359 100644
--- a/app/test/test_cryptodev_crosscheck.c
+++ b/app/test/test_cryptodev_crosscheck.c
@@ -3,6 +3,7 @@
  */
 #include <rte_cryptodev.h>
 #include <rte_malloc.h>
+#include <rte_memcpy.h>
 
 #include "test.h"
 #include "test_cryptodev.h"
diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c
index cac1584f40..d1674a5ba1 100644
--- a/app/test/test_event_crypto_adapter.c
+++ b/app/test/test_event_crypto_adapter.c
@@ -7,6 +7,7 @@
 #include <string.h>
 #include <rte_common.h>
 #include <rte_malloc.h>
+#include <rte_memcpy.h>
 #include <rte_mempool.h>
 #include <rte_mbuf.h>
 #include <rte_cryptodev.h>
-- 
2.53.0
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.