summaryrefslogtreecommitdiff
path: root/lib/librte_pipeline/rte_pipeline.h
diff options
context:
space:
mode:
authorBruce Richardson <bruce.richardson@intel.com>2015-04-23 14:03:54 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-05-11 15:36:37 +0200
commit12fd7252045c47fe125df8311465a25c36b29449 (patch)
treeb519bc2d5a11313343fa26059a14a655e3e5811b /lib/librte_pipeline/rte_pipeline.h
parentcf330e4db15ab733fed32bc60a7aad233225720c (diff)
downloaddpdk-next-eventdev-12fd7252045c47fe125df8311465a25c36b29449.zip
dpdk-next-eventdev-12fd7252045c47fe125df8311465a25c36b29449.tar.gz
dpdk-next-eventdev-12fd7252045c47fe125df8311465a25c36b29449.tar.xz
pipeline: remove inclusion of mbuf header
The pipeline header file includes the mbuf header file, but it does not need to do so as it only uses pointers to the struct rte_mbuf type, and does not use any of the mbuf internals, nor any of the mbuf functions or macros. Therefore the inclusion is unnecessary, and can be replaced by a forward declaration of the mbuf type. Signed-off-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Olivier Matz <olivier.matz@6wind.com>
Diffstat (limited to 'lib/librte_pipeline/rte_pipeline.h')
-rw-r--r--lib/librte_pipeline/rte_pipeline.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/librte_pipeline/rte_pipeline.h b/lib/librte_pipeline/rte_pipeline.h
index fb1014a..145fc06 100644
--- a/lib/librte_pipeline/rte_pipeline.h
+++ b/lib/librte_pipeline/rte_pipeline.h
@@ -85,10 +85,11 @@ extern "C" {
#include <stdint.h>
-#include <rte_mbuf.h>
#include <rte_port.h>
#include <rte_table.h>
+struct rte_mbuf;
+
/*
* Pipeline
*