VirtIO can transfer VIRTQUEUE_NUM of pages.
authorjvrao <jvrao@linux.vnet.ibm.com>
Thu, 30 Jun 2011 23:18:41 +0000 (23:18 +0000)
committerEric Van Hensbergen <ericvh@gmail.com>
Sat, 23 Jul 2011 14:32:48 +0000 (09:32 -0500)
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>
net/9p/trans_virtio.c

index 0ec5423b409e37bc8edcdb9e4f54217603fd41f2..175b5135bdcf524d324c73298cd17da0819c9a1e 100644 (file)
@@ -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,