OSDN Git Service
(root)
/
sagit-ice-cold
/
kernel_xiaomi_msm8998.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
|
history
diff --git
a/drivers/vhost/net.c
b/drivers/vhost/net.c
index
8ff4a6d
..
a935c25
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 {