summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjvrao <jvrao@linux.vnet.ibm.com>2011-06-30 23:18:41 +0000
committerEric Van Hensbergen <ericvh@gmail.com>2011-07-23 09:32:48 -0500
commit7f781679dd596c8abde8336b4d0d166d6a4aad04 (patch)
tree7eb682f13467094c5b84fba7d54f80aa61ca9415 /net
parent114e6f3a5ede73d5b56e145f04680c61c3dd67c4 (diff)
downloadblackbird-op-linux-7f781679dd596c8abde8336b4d0d166d6a4aad04.tar.gz
blackbird-op-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.c2
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,
OpenPOWER on IntegriCloud