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: fix build with kernel < 3.8
[dpdk.git]
/
lib
/
librte_vhost
/
vhost_user
/
vhost-net-user.c
diff --git
a/lib/librte_vhost/vhost_user/vhost-net-user.c
b/lib/librte_vhost/vhost_user/vhost-net-user.c
index
f681676
..
2dc0547
100644
(file)
--- a/
lib/librte_vhost/vhost_user/vhost-net-user.c
+++ b/
lib/librte_vhost/vhost_user/vhost-net-user.c
@@
-424,7
+424,7
@@
vserver_message_handler(int connfd, void *dat, int *remove)
break;
case VHOST_USER_GET_QUEUE_NUM:
- msg.payload.u64 = V
IRTIO_NET_CTRL_MQ_VQ_PAIRS_MAX
;
+ msg.payload.u64 = V
HOST_MAX_QUEUE_PAIRS
;
msg.size = sizeof(msg.payload.u64);
send_vhost_message(connfd, &msg);
break;