projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4fca7d
)
vhost/net: enable virtio 1.0
author
Michael S. Tsirkin
<mst@redhat.com>
Fri, 24 Oct 2014 11:25:03 +0000
(14:25 +0300)
committer
Michael S. Tsirkin
<mst@redhat.com>
Tue, 9 Dec 2014 10:05:30 +0000
(12:05 +0200)
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/net.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/vhost/net.c
b/drivers/vhost/net.c
index 8ff4a6dd238736a2a701cc04f740e939689cf842..a935c254749e29a339afdede2064d0e5aa9c006d 100644
(file)
--- a/
drivers/vhost/net.c
+++ b/
drivers/vhost/net.c
@@
-61,7
+61,8
@@
MODULE_PARM_DESC(experimental_zcopytx, "Enable Zero Copy TX;"
enum {
VHOST_NET_FEATURES = VHOST_FEATURES |
(1ULL << VHOST_NET_F_VIRTIO_NET_HDR) |
- (1ULL << VIRTIO_NET_F_MRG_RXBUF),
+ (1ULL << VIRTIO_NET_F_MRG_RXBUF) |
+ (1ULL << VIRTIO_F_VERSION_1),
};
enum {