git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build: make node optional
[dpdk.git]
/
lib
/
vhost
/
vhost.h
diff --git
a/lib/vhost/vhost.h
b/lib/vhost/vhost.h
index
1ba9a60
..
7085e08
100644
(file)
--- a/
lib/vhost/vhost.h
+++ b/
lib/vhost/vhost.h
@@
-22,7
+22,7
@@
#include "rte_vhost.h"
#include "rte_vdpa.h"
#include "rte_vhost.h"
#include "rte_vdpa.h"
-#include "
rte_vdpa_dev
.h"
+#include "
vdpa_driver
.h"
#include "rte_vhost_async.h"
#include "rte_vhost_async.h"
@@
-49,7
+49,7
@@
#define MAX_PKT_BURST 32
#define VHOST_MAX_ASYNC_IT (MAX_PKT_BURST)
#define MAX_PKT_BURST 32
#define VHOST_MAX_ASYNC_IT (MAX_PKT_BURST)
-#define VHOST_MAX_ASYNC_VEC
(BUF_VECTOR_MAX * 2)
+#define VHOST_MAX_ASYNC_VEC
2048
#define PACKED_DESC_ENQUEUE_USED_FLAG(w) \
((w) ? (VRING_DESC_F_AVAIL | VRING_DESC_F_USED | VRING_DESC_F_WRITE) : \
#define PACKED_DESC_ENQUEUE_USED_FLAG(w) \
((w) ? (VRING_DESC_F_AVAIL | VRING_DESC_F_USED | VRING_DESC_F_WRITE) : \
@@
-394,7
+394,7
@@
struct virtio_net {
uint16_t mtu;
uint8_t status;
uint16_t mtu;
uint8_t status;
- struct vhost_device_ops const *notify_ops;
+ struct
rte_
vhost_device_ops const *notify_ops;
uint32_t nr_guest_pages;
uint32_t max_guest_pages;
uint32_t nr_guest_pages;
uint32_t max_guest_pages;
@@
-702,7
+702,7
@@
void vhost_enable_linearbuf(int vid);
int vhost_enable_guest_notification(struct virtio_net *dev,
struct vhost_virtqueue *vq, int enable);
int vhost_enable_guest_notification(struct virtio_net *dev,
struct vhost_virtqueue *vq, int enable);
-struct vhost_device_ops const *vhost_driver_callback_get(const char *path);
+struct
rte_
vhost_device_ops const *vhost_driver_callback_get(const char *path);
/*
* Backend-specific cleanup.
/*
* Backend-specific cleanup.