[PATCH v3 2/6] event/dlb2: include headers for vector and memory copy APIs
Mattias Rönnblom
mattias.ronnblom at ericsson.com
Thu Jun 20 13:50:23 CEST 2024
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 at ericsson.com>
Acked-by: Bruce Richardson <bruce.richardson at intel.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"
--
2.34.1
More information about the dev
mailing list