kni: remove inclusion of mbuf header
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 23 Apr 2015 13:03:52 +0000 (14:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 May 2015 13:36:37 +0000 (15:36 +0200)
commit6234585feed434315c72c16789798c6040fc1ea8
tree54e748c1db799814b2f5d65a3d97ffef4e6b925c
parent12fd7252045c47fe125df8311465a25c36b29449
kni: remove inclusion of mbuf header

The kni 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>
lib/librte_kni/rte_kni.h