connector: allow multiple messages to be sent in one packet
authorDavid Fries <David@Fries.net>
Wed, 9 Apr 2014 03:37:08 +0000 (22:37 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 20:56:21 +0000 (13:56 -0700)
commit34470e0bfae223e3f22bd2bd6e0e1dac366c9290
treef1c90448f6a4c2b23923498f954a72136ca1392a
parentfd1a73c60ee0bfd3fefc96ad270effd69b350aba
connector: allow multiple messages to be sent in one packet

This increases the amount of bundling to reduce the number of packets
sent.  For the one wire use there can be multiple struct
w1_netlink_cmd in a struct w1_netlink_msg and multiple of those in
struct cn_msg, and with this change multiple of those in a struct
nlmsghdr, and at each level the len identifies there being multiple of
the next.

Signed-off-by: David Fries <David@Fries.net>
Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Documentation/connector/connector.txt
drivers/connector/connector.c
include/linux/connector.h