]> asedeno.scripts.mit.edu Git - linux.git/commit
tipc: confgiure and apply UDP bearer MTU on running links
authorGhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamurthy@ericsson.com>
Thu, 19 Apr 2018 09:06:20 +0000 (11:06 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:04:05 +0000 (11:04 -0400)
commit682cd3cf946b66bace4aa1037f49f0093ff182ce
tree4c52280069d825436b0658c9a43d43c1cca80d2c
parent901271e0403af638c224987c2a4e55cebade7e91
tipc: confgiure and apply UDP bearer MTU on running links

Currently, we have option to configure MTU of UDP media. The configured
MTU takes effect on the links going up after that moment. I.e, a user
has to reset bearer to have new value applied across its links. This is
confusing and disturbing on a running cluster.

We now introduce the functionality to change the default UDP bearer MTU
in struct tipc_bearer. Additionally, the links are updated dynamically,
without any need for a reset, when bearer value is changed. We leverage
the existing per-link functionality and the design being symetrical to
the confguration of link tolerance.

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>
net/tipc/bearer.c
net/tipc/node.c
net/tipc/node.h