From: jvrao Date: Thu, 30 Jun 2011 23:18:41 +0000 (+0000) Subject: VirtIO can transfer VIRTQUEUE_NUM of pages. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=7f781679dd596c8abde8336b4d0d166d6a4aad04;p=deliverable%2Flinux.git VirtIO can transfer VIRTQUEUE_NUM of pages. Signed-off-by: Venkateswararao Jujjuri " Reviewed-by: Aneesh Kumar K.V Signed-off-by: Eric Van Hensbergen --- 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,