summaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorVlad Yasevich2009-08-10 19:51:03 +0200
committerVlad Yasevich2009-09-05 00:20:57 +0200
commit9c5c62be2f794c7cee533d856f9f34c3cf21ff1b (patch)
treee81bcc703cedf4e667b91504b5cf9e8e01ffb6a5 /net/sunrpc
parentsctp: Try to encourage SACK bundling with DATA. (diff)
downloadkernel-qcow2-linux-9c5c62be2f794c7cee533d856f9f34c3cf21ff1b.tar.gz
kernel-qcow2-linux-9c5c62be2f794c7cee533d856f9f34c3cf21ff1b.tar.xz
kernel-qcow2-linux-9c5c62be2f794c7cee533d856f9f34c3cf21ff1b.zip
sctp: Send user messages to the lower layer as one
Currenlty, sctp breaks up user messages into fragments and sends each fragment to the lower layer by itself. This means that for each fragment we go all the way down the stack and back up. This also discourages bundling of multiple fragments when they can fit into a sigle packet (ex: due to user setting a low fragmentation threashold). We introduce a new command SCTP_CMD_SND_MSG and hand the whole message down state machine. The state machine and the side-effect parser will cork the queue, add all chunks from the message to the queue, and then un-cork the queue thus causing the chunks to get transmitted. Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com>
Diffstat (limited to 'net/sunrpc')
0 files changed, 0 insertions, 0 deletions