vhost: do not include net specific headers
Include it internally, at vhost.h. Signed-off-by: Yuanhan Liu <yuanhan.liu@linux.intel.com> Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
This commit is contained in:
parent
f53cf83980
commit
aca49772f6
@ -305,6 +305,13 @@ API Changes
|
||||
* ``VIRTIO_TXQ``
|
||||
* ``VIRTIO_QNUM``
|
||||
|
||||
* Following net specific header files are removed in ``rte_virtio_net.h``
|
||||
|
||||
* ``linux/virtio_net.h``
|
||||
* ``sys/socket.h``
|
||||
* ``linux/if.h``
|
||||
* ``rte_ether.h``
|
||||
|
||||
|
||||
ABI Changes
|
||||
-----------
|
||||
|
@ -36,6 +36,8 @@
|
||||
|
||||
#include <sys/queue.h>
|
||||
|
||||
#include <rte_ether.h>
|
||||
|
||||
/* Macros for printing using RTE_LOG */
|
||||
#define RTE_LOGTYPE_VHOST_CONFIG RTE_LOGTYPE_USER1
|
||||
#define RTE_LOGTYPE_VHOST_DATA RTE_LOGTYPE_USER2
|
||||
|
@ -42,14 +42,10 @@
|
||||
#include <stdint.h>
|
||||
#include <linux/vhost.h>
|
||||
#include <linux/virtio_ring.h>
|
||||
#include <linux/virtio_net.h>
|
||||
#include <sys/eventfd.h>
|
||||
#include <sys/socket.h>
|
||||
#include <linux/if.h>
|
||||
|
||||
#include <rte_memory.h>
|
||||
#include <rte_mempool.h>
|
||||
#include <rte_ether.h>
|
||||
|
||||
#define RTE_VHOST_USER_CLIENT (1ULL << 0)
|
||||
#define RTE_VHOST_USER_NO_RECONNECT (1ULL << 1)
|
||||
|
@ -39,8 +39,12 @@
|
||||
#include <sys/queue.h>
|
||||
#include <unistd.h>
|
||||
#include <linux/vhost.h>
|
||||
#include <linux/virtio_net.h>
|
||||
#include <sys/socket.h>
|
||||
#include <linux/if.h>
|
||||
|
||||
#include <rte_log.h>
|
||||
#include <rte_ether.h>
|
||||
|
||||
#include "rte_virtio_net.h"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user