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
vhost: hide internal code
[dpdk.git]
/
lib
/
librte_vhost
/
vhost_user
/
vhost-net-user.h
diff --git
a/lib/librte_vhost/vhost_user/vhost-net-user.h
b/lib/librte_vhost/vhost_user/vhost-net-user.h
index
e3bb413
..
ec68b96
100644
(file)
--- a/
lib/librte_vhost/vhost_user/vhost-net-user.h
+++ b/
lib/librte_vhost/vhost_user/vhost-net-user.h
@@
-47,6
+47,8
@@
struct vhost_server {
/* refer to hw/virtio/vhost-user.c */
+#define VHOST_MEMORY_MAX_NREGIONS 8
+
typedef enum VhostUserRequest {
VHOST_USER_NONE = 0,
VHOST_USER_GET_FEATURES = 1,