ethdev: remove inclusion of mbuf header
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 23 Apr 2015 13:03:51 +0000 (14:03 +0100)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Mon, 11 May 2015 13:36:36 +0000 (15:36 +0200)
commit7283260541526f08dffe1f7e538f2545fda70ade
tree3081ffcba089c6c7a293da90fda9adf927f0307b
parent48262b5a8b91ae41be13b9ed3c7a952d4becabfa
ethdev: remove inclusion of mbuf header

The ethdev 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_ether/rte_ethdev.h