diff options
author | GhantaKrishnamurthy MohanKrishna <mohan.krishna.ghanta.krishnamurthy@ericsson.com> | 2018-04-19 11:06:18 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-20 11:04:05 -0400 |
commit | a4dfa72d0acd1c99a160e25c099849ae37ad13fd (patch) | |
tree | 675821e7e385b24adb94d998284dddf35b498380 /tools/kvm | |
parent | cea395ac868dee9104aa4fff640486cf4b3c464c (diff) |
tipc: set default MTU for UDP media
Currently, all bearers are configured with MTU value same as the
underlying L2 device. However, in case of bearers with media type
UDP, higher throughput is possible with a fixed and higher emulated
MTU value than adapting to the underlying L2 MTU.
In this commit, we introduce a parameter mtu in struct tipc_media
and a default value is set for UDP. A default value of 14k
was determined by experimentation and found to have a higher throughput
than 16k. MTU for UDP bearers are assigned the above set value of
media MTU.
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>
Diffstat (limited to 'tools/kvm')
0 files changed, 0 insertions, 0 deletions