summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorTom Herbert <tom@herbertland.com>2016-03-07 22:11:03 (GMT)
committerDavid S. Miller <davem@davemloft.net>2016-03-09 21:36:13 (GMT)
commitf092276d85b82504e8a07498f4e9e0c51f06745c (patch)
treec1d130980b720167581a0f74a9a8bd2746e8cee2 /net/core
parent28a94d8fb35b3a75b802f368ae6f4a9f6b0d435a (diff)
downloadlinux-f092276d85b82504e8a07498f4e9e0c51f06745c.tar.xz
net: Add MSG_BATCH flag
Add a new msg flag called MSG_BATCH. This flag is used in sendmsg to indicate that more messages will follow (i.e. a batch of messages is being sent). This is similar to MSG_MORE except that the following messages are not merged into one packet, they are sent individually. sendmmsg is updated so that each contained message except for the last one is marked as MSG_BATCH. MSG_BATCH is a performance optimization in cases where a socket implementation can benefit by transmitting packets in a batch. Signed-off-by: Tom Herbert <tom@herbertland.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
0 files changed, 0 insertions, 0 deletions