[1/5] event/dlb2: include headers for vector and memory copy APIs

Message ID 20240605064945.369310-2-mattias.ronnblom@ericsson.com (mailing list archive)
State Superseded
Delegated to: Thomas Monjalon
Series Optionally have rte_memcpy delegate to compiler memcpy |


Context Check Description
ci/checkpatch success coding style OK

Commit Message

Mattias Rönnblom June 5, 2024, 6:49 a.m. UTC
  The DLB2 PMD depended on <rte_vect.h> being included as a side-effect
of <rte_memcpy.h> being included.

In addition, DLB2 used rte_memcpy() but did not include <rte_memcpy.h>,
but rather depended on other include files to do so.

This patch addresses both of those issues.

Signed-off-by: Mattias Rönnblom <mattias.ronnblom@ericsson.com>
 drivers/event/dlb2/dlb2.c | 2 ++
 1 file changed, 2 insertions(+)


diff --git a/drivers/event/dlb2/dlb2.c b/drivers/event/dlb2/dlb2.c
index 0b91f03956..19f90b8f8d 100644
--- a/drivers/event/dlb2/dlb2.c
+++ b/drivers/event/dlb2/dlb2.c
@@ -25,11 +25,13 @@ 
 #include <rte_kvargs.h>
 #include <rte_log.h>
 #include <rte_malloc.h>
+#include <rte_memcpy.h>
 #include <rte_mbuf.h>
 #include <rte_power_intrinsics.h>
 #include <rte_prefetch.h>
 #include <rte_ring.h>
 #include <rte_string_fns.h>
+#include <rte_vect.h>
 #include "dlb2_priv.h"
 #include "dlb2_iface.h"