aboutsummaryrefslogtreecommitdiffstats
path: root/net/9p/trans_virtio.c
diff options
context:
space:
mode:
authorVenkateswararao Jujjuri (JV) <jvrao@linux.vnet.ibm.com>2011-02-06 15:08:01 -0500
committerEric Van Hensbergen <ericvh@gmail.com>2011-03-15 10:57:35 -0400
commit6f69c395cefb26ebba2c9bb725296a3a4a9200ec (patch)
tree7012a54d7bef23aef8a14b938d329d87609d8937 /net/9p/trans_virtio.c
parent4038866dab4e461e0ef144458bad9d70ce0c98c1 (diff)
[net/9p] Add preferences to transport layer.
This patch adds preferences field to the p9_trans_module. Through this, now transport layer can express its preference about the payload. i.e if payload neds to be part of the PDU or it prefers it to be sent sepearetly so that the transport layer can handle it in a better way. Signed-off-by: Venkateswararao Jujjuri <jvrao@linux.vnet.ibm.com> Signed-off-by: Eric Van Hensbergen <ericvh@gmail.com>
Diffstat (limited to 'net/9p/trans_virtio.c')
-rw-r--r--net/9p/trans_virtio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index 4b236de132da..9b550ed9c711 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -566,6 +566,7 @@ static struct p9_trans_module p9_virtio_trans = {
566 .request = p9_virtio_request, 566 .request = p9_virtio_request,
567 .cancel = p9_virtio_cancel, 567 .cancel = p9_virtio_cancel,
568 .maxsize = PAGE_SIZE*16, 568 .maxsize = PAGE_SIZE*16,
569 .pref = P9_TRANS_PREF_PAYLOAD_SEP,
569 .def = 0, 570 .def = 0,
570 .owner = THIS_MODULE, 571 .owner = THIS_MODULE,
571}; 572};