diff options
author | jvrao <jvrao@linux.vnet.ibm.com> | 2011-07-01 01:18:41 +0200 |
---|---|---|
committer | Eric Van Hensbergen <ericvh@gmail.com> | 2011-07-23 16:32:48 +0200 |
commit | 7f781679dd596c8abde8336b4d0d166d6a4aad04 (patch) | |
tree | 7eb682f13467094c5b84fba7d54f80aa61ca9415 /net | |
parent | Fix the size of receive buffer packing onto VirtIO ring. (diff) | |
download | linux-7f781679dd596c8abde8336b4d0d166d6a4aad04.tar.xz linux-7f781679dd596c8abde8336b4d0d166d6a4aad04.zip |
VirtIO can transfer VIRTQUEUE_NUM of pages.
Signed-off-by: Venkateswararao Jujjuri "<jvrao@linux.vnet.ibm.com>
Reviewed-by: Aneesh Kumar K.V <aneesh.kumar@linux.vnet.ibm.com>
Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net')
-rw-r--r-- | net/9p/trans_virtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 0ec5423b409e..175b5135bdcf 100644 --- a/net/9p/trans_virtio.c +++ b/net/9p/trans_virtio.c @@ -592,7 +592,7 @@ static struct p9_trans_module p9_virtio_trans = { .close = p9_virtio_close, .request = p9_virtio_request, .cancel = p9_virtio_cancel, - .maxsize = PAGE_SIZE*16, + .maxsize = PAGE_SIZE*VIRTQUEUE_NUM, .pref = P9_TRANS_PREF_PAYLOAD_SEP, .def = 0, .owner = THIS_MODULE, |