]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'tipc-Confgiuration-of-MTU-for-media-UDP'
authorDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:04:06 +0000 (11:04 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 20 Apr 2018 15:04:06 +0000 (11:04 -0400)
commita167b7ac0afa2f4c4b357243303d11c2c9e68bde
tree4c52280069d825436b0658c9a43d43c1cca80d2c
parentedbb945975c014cb54ef6e8b2a54a0f30b0a4f01
parente62ef4b5b08ac2d06eccf14861f9b4f0897aca7a
Merge branch 'tipc-Confgiuration-of-MTU-for-media-UDP'

GhantaKrishnamurthy MohanKrishna says:

====================
tipc: Confgiuration of MTU for media UDP

Systematic measurements have shown that an emulated MTU of 14k for
UDP bearers is the optimal value for maximal throughput. Accordingly,
the default MTU of UDP bearers is changed to 14k.

We also provide users with a fallback option from this value,
by providing support to configure MTU for UDP bearers. The following
options are introduced which are symmetrical to the design of
confguring link tolerance.

- Configure media with new MTU value, which will take effect on
links going up after the moment it was configured. Alternatively,
the bearer has to be disabled and re-enabled, for existing links to
reflect the configured value.

- Configure bearer with new MTU value, which take effect on
running links dynamically.

Please note:
- User has to change MTU at both endpoints, otherwise the link
will fall back to smallest MTU after a reset.
- Failover from a link with higher MTU to a link with lower MTU
====================

Signed-off-by: David S. Miller <davem@davemloft.net>