Revision 1902750b50757804775d56a1cfc9f827f734e755 authored by David S. Miller on 10 February 2016, 10:50:16 UTC, committed by David S. Miller on 10 February 2016, 10:50:16 UTC
David Wragg says: ==================== 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 ==================== Signed-off-by: David S. Miller <davem@davemloft.net>
File | Mode | Size |
---|---|---|
kasan | ||
Kconfig | -rw-r--r-- | 22.3 KB |
Kconfig.debug | -rw-r--r-- | 1.2 KB |
Makefile | -rw-r--r-- | 2.7 KB |
backing-dev.c | -rw-r--r-- | 26.4 KB |
balloon_compaction.c | -rw-r--r-- | 6.6 KB |
bootmem.c | -rw-r--r-- | 21.0 KB |
cleancache.c | -rw-r--r-- | 9.9 KB |
cma.c | -rw-r--r-- | 12.1 KB |
cma.h | -rw-r--r-- | 515 bytes |
cma_debug.c | -rw-r--r-- | 4.4 KB |
compaction.c | -rw-r--r-- | 48.3 KB |
debug-pagealloc.c | -rw-r--r-- | 2.6 KB |
debug.c | -rw-r--r-- | 6.6 KB |
dmapool.c | -rw-r--r-- | 13.9 KB |
early_ioremap.c | -rw-r--r-- | 6.2 KB |
fadvise.c | -rw-r--r-- | 3.7 KB |
failslab.c | -rw-r--r-- | 1.3 KB |
filemap.c | -rw-r--r-- | 74.1 KB |
frame_vector.c | -rw-r--r-- | 6.2 KB |
frontswap.c | -rw-r--r-- | 14.3 KB |
gup.c | -rw-r--r-- | 41.2 KB |
highmem.c | -rw-r--r-- | 11.8 KB |
huge_memory.c | -rw-r--r-- | 92.4 KB |
hugetlb.c | -rw-r--r-- | 117.7 KB |
hugetlb_cgroup.c | -rw-r--r-- | 10.5 KB |
hwpoison-inject.c | -rw-r--r-- | 3.2 KB |
init-mm.c | -rw-r--r-- | 619 bytes |
internal.h | -rw-r--r-- | 13.7 KB |
interval_tree.c | -rw-r--r-- | 3.1 KB |
kmemcheck.c | -rw-r--r-- | 2.9 KB |
kmemleak-test.c | -rw-r--r-- | 3.2 KB |
kmemleak.c | -rw-r--r-- | 54.5 KB |
ksm.c | -rw-r--r-- | 62.9 KB |
list_lru.c | -rw-r--r-- | 12.6 KB |
maccess.c | -rw-r--r-- | 3.1 KB |
madvise.c | -rw-r--r-- | 18.5 KB |
memblock.c | -rw-r--r-- | 48.6 KB |
memcontrol.c | -rw-r--r-- | 151.7 KB |
memory-failure.c | -rw-r--r-- | 48.9 KB |
memory.c | -rw-r--r-- | 105.5 KB |
memory_hotplug.c | -rw-r--r-- | 53.2 KB |
mempolicy.c | -rw-r--r-- | 71.3 KB |
mempool.c | -rw-r--r-- | 14.0 KB |
memtest.c | -rw-r--r-- | 2.7 KB |
migrate.c | -rw-r--r-- | 47.7 KB |
mincore.c | -rw-r--r-- | 6.7 KB |
mlock.c | -rw-r--r-- | 21.0 KB |
mm_init.c | -rw-r--r-- | 4.9 KB |
mmap.c | -rw-r--r-- | 91.1 KB |
mmu_context.c | -rw-r--r-- | 1.3 KB |
mmu_notifier.c | -rw-r--r-- | 11.7 KB |
mmzone.c | -rw-r--r-- | 2.4 KB |
mprotect.c | -rw-r--r-- | 11.0 KB |
mremap.c | -rw-r--r-- | 15.2 KB |
msync.c | -rw-r--r-- | 2.6 KB |
nobootmem.c | -rw-r--r-- | 11.1 KB |
nommu.c | -rw-r--r-- | 51.9 KB |
oom_kill.c | -rw-r--r-- | 20.8 KB |
page-writeback.c | -rw-r--r-- | 84.0 KB |
page_alloc.c | -rw-r--r-- | 189.5 KB |
page_counter.c | -rw-r--r-- | 4.8 KB |
page_ext.c | -rw-r--r-- | 10.4 KB |
page_idle.c | -rw-r--r-- | 5.4 KB |
page_io.c | -rw-r--r-- | 9.2 KB |
page_isolation.c | -rw-r--r-- | 8.4 KB |
page_owner.c | -rw-r--r-- | 7.1 KB |
pagewalk.c | -rw-r--r-- | 7.5 KB |
percpu-km.c | -rw-r--r-- | 2.8 KB |
percpu-vm.c | -rw-r--r-- | 10.0 KB |
percpu.c | -rw-r--r-- | 65.9 KB |
pgtable-generic.c | -rw-r--r-- | 5.3 KB |
process_vm_access.c | -rw-r--r-- | 9.8 KB |
quicklist.c | -rw-r--r-- | 2.4 KB |
readahead.c | -rw-r--r-- | 15.3 KB |
rmap.c | -rw-r--r-- | 49.9 KB |
shmem.c | -rw-r--r-- | 90.9 KB |
slab.c | -rw-r--r-- | 107.4 KB |
slab.h | -rw-r--r-- | 10.5 KB |
slab_common.c | -rw-r--r-- | 30.0 KB |
slob.c | -rw-r--r-- | 16.0 KB |
slub.c | -rw-r--r-- | 133.0 KB |
sparse-vmemmap.c | -rw-r--r-- | 7.8 KB |
sparse.c | -rw-r--r-- | 20.9 KB |
swap.c | -rw-r--r-- | 26.2 KB |
swap_cgroup.c | -rw-r--r-- | 4.6 KB |
swap_state.c | -rw-r--r-- | 13.1 KB |
swapfile.c | -rw-r--r-- | 77.3 KB |
truncate.c | -rw-r--r-- | 23.9 KB |
userfaultfd.c | -rw-r--r-- | 7.2 KB |
util.c | -rw-r--r-- | 12.0 KB |
vmacache.c | -rw-r--r-- | 3.1 KB |
vmalloc.c | -rw-r--r-- | 68.0 KB |
vmpressure.c | -rw-r--r-- | 12.6 KB |
vmscan.c | -rw-r--r-- | 112.0 KB |
vmstat.c | -rw-r--r-- | 41.7 KB |
workingset.c | -rw-r--r-- | 13.6 KB |
zbud.c | -rw-r--r-- | 18.2 KB |
zpool.c | -rw-r--r-- | 10.0 KB |
zsmalloc.c | -rw-r--r-- | 48.2 KB |
zswap.c | -rw-r--r-- | 32.0 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...