From: jvrao Date: Thu, 30 Jun 2011 23:18:41 +0000 (+0000) Subject: VirtIO can transfer VIRTQUEUE_NUM of pages. X-Git-Tag: firefly_0821_release~7541^2~2787 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=0beac585155d05699b1f186556d23c240a9e245d;p=firefly-linux-kernel-4.4.55.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 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,