From: jvrao Date: Thu, 30 Jun 2011 23:18:41 +0000 (+0000) Subject: VirtIO can transfer VIRTQUEUE_NUM of pages. X-Git-Tag: v3.0.5~159 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0beac585155d05699b1f186556d23c240a9e245d;p=profile%2Fivi%2Fkernel-adaptation-intel-automotive.git VirtIO can transfer VIRTQUEUE_NUM of pages. commit 7f781679dd596c8abde8336b4d0d166d6a4aad04 upstream. Signed-off-by: Venkateswararao Jujjuri " Reviewed-by: Aneesh Kumar K.V Signed-off-by: Eric Van Hensbergen Signed-off-by: Greg Kroah-Hartman --- diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c index 0ec5423..175b513 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,