]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4552e4f907619e269ac2188c698f145bea832f04
treef1c90448f6a4c2b23923498f954a72136ca1392a
parent0c9b03521d315da0b441484fbf325188944e418f
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