android_kernel_xiaomi_sm8350/net/tipc
Allan Stephens 05646c9110 [TIPC]: Optimize stream send routine to avoid fragmentation
This patch enhances TIPC's stream socket send routine so that
it avoids transmitting data in chunks that require fragmentation
and reassembly, thereby improving performance at both the
sending and receiving ends of the connection.

The "maximum packet size" hint that records MTU info allows
the socket to decide how big a chunk it should send; in the
event that the hint has become stale, fragmentation may still
occur, but the data will be passed correctly and the hint will
be updated in time for the following send.  Note: The 66060 byte
pseudo-MTU used for intra-node connections requires the send
routine to perform an additional check to ensure it does not
exceed TIPC"s limit of 66000 bytes of user data per chunk.

Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
Signed-off-by: Jon Paul Maloy <jon.maloy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-07-10 22:06:12 -07:00
..
addr.c
addr.h
bcast.c
bcast.h
bearer.c
bearer.h
cluster.c
cluster.h
config.c [SK_BUFF]: Convert skb->tail to sk_buff_data_t 2007-04-25 22:26:28 -07:00
config.h
core.c
core.h
dbg.c
dbg.h
discover.c
discover.h
eth_media.c [TIPC]: Improved support for Ethernet traffic filtering 2007-07-10 22:06:02 -07:00
handler.c
Kconfig [TIPC]: Use menuconfig objects. 2007-05-24 16:36:50 -07:00
link.c [TIPC]: Optimize stream send routine to avoid fragmentation 2007-07-10 22:06:12 -07:00
link.h
Makefile
msg.c
msg.h [TIPC]: Enhancements to msg_set_bits() routine 2007-04-25 22:29:49 -07:00
name_distr.c
name_distr.h
name_table.c
name_table.h
net.c
net.h
netlink.c [TIPC]: Fix infinite loop in netlink handler 2007-06-23 22:59:40 -07:00
node_subscr.c
node_subscr.h
node.c
node.h
port.c [TIPC]: Optimize stream send routine to avoid fragmentation 2007-07-10 22:06:12 -07:00
port.h [TIPC]: Optimize stream send routine to avoid fragmentation 2007-07-10 22:06:12 -07:00
ref.c
ref.h
socket.c [TIPC]: Optimize stream send routine to avoid fragmentation 2007-07-10 22:06:12 -07:00
subscr.c
subscr.h
user_reg.c
user_reg.h
zone.c
zone.h