Hello, On Fri, Nov 20, 2015, at 22:21, Tom Herbert wrote: > 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. > > MSG_BATCH is a performance optimization in cases where a socket > implementation can benefit by transmitting packets in a batch. > > This patch also updates sendmmsg so that each contained message except > for the last one is marked as MSG_BATCH.
This flag is only used for KCM because it does not make sense to expose it to user space? As such, could this be made more clear? I don't see such an optimization being needed for UDP or TCP. Thanks, Hannes -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html