Set a large MTU on ovs-created tunnel devices
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest3 patches 1 replyIn review
- v21 of 3 patches 12 repliesSuperseded
Changes in v3 from the cover letter
* Fix block comment style
Patches in v3 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vxlan: Relax MTU constraintsdrivers/ | +25 | 0 replies | |
| 2/3 | geneve: Relax MTU constraintsdrivers/ | +12 | 0 replies | |
| 3/3 | vxlan, gre, geneve: Set a large MTU on ovs-created tunnel devicesdrivers/ drivers/ include/ +3 more | +50 | 0 replies |
Reviews trailers per patch
1 of 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Roopa Prabhu |
|---|---|
| Series | A-b |
| 1/3 | A-b |
| 2/3 | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net v3 0/3] Set a large MTU on ovs-created tunnel devices
Prior to 4.3, openvswitch tunnel vports (vxlan, gre and geneve) could transmit vxlan packets of any size, constrained only by the ability to send out the resulting packets. 4.3 introduced netdevs corresponding to tunnel vports. These netdevs have an MTU, which limits the size of a packet that can be successfully encapsulated. The default MTU values are low (1500 or less), which is awkwardly small in the context of physical networks supporting jumbo frames, and leads to a conspicuous change in behaviour for userspace.
This patch series sets the MTU on openvswitch-created netdevs to be the relevant maximum (i.e. the maximum IP packet size minus any relevant overhead), effectively restoring the behaviour prior to 4.3.
Where relevant, the limits on MTU values that can be directly set on the netdevs are also relaxed.
Changes in v2:
* Extend to all openvswitch tunnel types, i.e. gre and geneve as well
* Use IP_MAX_MTU
Changes in v3:
* Fix block comment style
David Wragg (3):
vxlan: Relax MTU constraints
geneve: Relax MTU constraints
vxlan, gre, geneve: Set a large MTU on ovs-created tunnel devices
drivers/net/geneve.c | 31 +++++++++++++++++++++++----- drivers/net/vxlan.c | 47 ++++++++++++++++++++++++++++++------------- include/net/ip_tunnels.h | 1 + net/ipv4/ip_gre.c | 8 ++++++++ net/ipv4/ip_tunnel.c | 20 +++++++++++++++--- net/openvswitch/vport-vxlan.c | 2 ++ 6 files changed, 87 insertions(+), 22 deletions(-)
Signature · 6 lines
2.5.0 _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev