tipc: implement configuration of UDP media MTU
authorGhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamurthy@ericsson.com>
Thu, 19 Apr 2018 09:06:19 +0000 (11:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:04:05 +0000 (11:04 -0400)
commit901271e0403af638c224987c2a4e55cebade7e91
treec1d76383cebfd75ca87fb49ef212ee9c90f174e0
parenta4dfa72d0acd1c99a160e25c099849ae37ad13fd
tipc: implement configuration of UDP media MTU

In previous commit, we changed the default emulated MTU for UDP bearers
to 14k.

This commit adds the functionality to set/change the default value
by configuring new MTU for UDP media. UDP bearer(s) have to be disabled
and enabled back for the new MTU to take effect.

Acked-by: Ying Xue <ying.xue@windriver.com>
Acked-by: Jon Maloy <jon.maloy@ericsson.com>
Signed-off-by: GhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamurthy@ericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/tipc_netlink.h
net/tipc/bearer.c
net/tipc/bearer.h
net/tipc/udp_media.h