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

The virtqueue header files include the mbuf header file, but they do not
need to do so as they only use pointers to the struct rte_mbuf type, and
do 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_pmd_virtio/virtqueue.h
lib/librte_pmd_xenvirt/virtqueue.h