https://github.com/torvalds/linux
Revision d0e5d83284dac15c015bb48115b6780f5a6413cd authored by David Vrabel on 30 September 2011, 06:37:51 UTC, committed by David S. Miller on 03 October 2011, 18:15:46 UTC
If a VM is saved and restored (or migrated) the netback driver will no longer process any Tx packets from the frontend. xenvif_up() does not schedule the processing of any pending Tx requests from the front end because the carrier is off. Without this initial kick the frontend just adds Tx requests to the ring without raising an event (until the ring is full). This was caused by 47103041e91794acdbc6165da0ae288d844c820b (net: xen-netback: convert to hw_features) which reordered the calls to xenvif_up() and netif_carrier_on() in xenvif_connect(). Signed-off-by: David Vrabel <david.vrabel@citrix.com> Cc: Ian Campbell <ian.campbell@citrix.com> Acked-by: Ian Campbell <ian.campbell@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent a0db2da
Tip revision: d0e5d83284dac15c015bb48115b6780f5a6413cd authored by David Vrabel on 30 September 2011, 06:37:51 UTC
net: xen-netback: correctly restart Tx after a VM restore/migrate
net: xen-netback: correctly restart Tx after a VM restore/migrate
Tip revision: d0e5d83
File | Mode | Size |
---|---|---|
Kconfig | -rw-r--r-- | 12.3 KB |
Kconfig.debug | -rw-r--r-- | 908 bytes |
Makefile | -rw-r--r-- | 1.8 KB |
backing-dev.c | -rw-r--r-- | 21.8 KB |
bootmem.c | -rw-r--r-- | 20.8 KB |
bounce.c | -rw-r--r-- | 6.5 KB |
cleancache.c | -rw-r--r-- | 6.9 KB |
compaction.c | -rw-r--r-- | 20.0 KB |
debug-pagealloc.c | -rw-r--r-- | 2.5 KB |
dmapool.c | -rw-r--r-- | 13.0 KB |
fadvise.c | -rw-r--r-- | 3.5 KB |
failslab.c | -rw-r--r-- | 1.3 KB |
filemap.c | -rw-r--r-- | 69.8 KB |
filemap_xip.c | -rw-r--r-- | 11.0 KB |
fremap.c | -rw-r--r-- | 6.7 KB |
highmem.c | -rw-r--r-- | 10.3 KB |
huge_memory.c | -rw-r--r-- | 61.5 KB |
hugetlb.c | -rw-r--r-- | 76.3 KB |
hwpoison-inject.c | -rw-r--r-- | 3.3 KB |
init-mm.c | -rw-r--r-- | 619 bytes |
internal.h | -rw-r--r-- | 7.2 KB |
kmemcheck.c | -rw-r--r-- | 2.8 KB |
kmemleak-test.c | -rw-r--r-- | 3.3 KB |
kmemleak.c | -rw-r--r-- | 49.7 KB |
ksm.c | -rw-r--r-- | 54.7 KB |
maccess.c | -rw-r--r-- | 1.6 KB |
madvise.c | -rw-r--r-- | 11.5 KB |
memblock.c | -rw-r--r-- | 22.6 KB |
memcontrol.c | -rw-r--r-- | 141.2 KB |
memory-failure.c | -rw-r--r-- | 41.6 KB |
memory.c | -rw-r--r-- | 107.2 KB |
memory_hotplug.c | -rw-r--r-- | 23.9 KB |
mempolicy.c | -rw-r--r-- | 64.3 KB |
mempool.c | -rw-r--r-- | 8.9 KB |
migrate.c | -rw-r--r-- | 31.6 KB |
mincore.c | -rw-r--r-- | 7.8 KB |
mlock.c | -rw-r--r-- | 15.5 KB |
mm_init.c | -rw-r--r-- | 3.7 KB |
mmap.c | -rw-r--r-- | 69.3 KB |
mmu_context.c | -rw-r--r-- | 1.4 KB |
mmu_notifier.c | -rw-r--r-- | 9.1 KB |
mmzone.c | -rw-r--r-- | 1.8 KB |
mprotect.c | -rw-r--r-- | 7.9 KB |
mremap.c | -rw-r--r-- | 13.2 KB |
msync.c | -rw-r--r-- | 2.4 KB |
nobootmem.c | -rw-r--r-- | 10.5 KB |
nommu.c | -rw-r--r-- | 50.7 KB |
oom_kill.c | -rw-r--r-- | 21.6 KB |
page-writeback.c | -rw-r--r-- | 45.2 KB |
page_alloc.c | -rw-r--r-- | 159.4 KB |
page_cgroup.c | -rw-r--r-- | 12.9 KB |
page_io.c | -rw-r--r-- | 3.2 KB |
page_isolation.c | -rw-r--r-- | 3.6 KB |
pagewalk.c | -rw-r--r-- | 5.7 KB |
percpu-km.c | -rw-r--r-- | 2.8 KB |
percpu-vm.c | -rw-r--r-- | 13.0 KB |
percpu.c | -rw-r--r-- | 55.5 KB |
pgtable-generic.c | -rw-r--r-- | 3.3 KB |
prio_tree.c | -rw-r--r-- | 6.3 KB |
quicklist.c | -rw-r--r-- | 2.4 KB |
readahead.c | -rw-r--r-- | 15.1 KB |
rmap.c | -rw-r--r-- | 50.1 KB |
shmem.c | -rw-r--r-- | 63.6 KB |
slab.c | -rw-r--r-- | 118.9 KB |
slob.c | -rw-r--r-- | 17.1 KB |
slub.c | -rw-r--r-- | 122.9 KB |
sparse-vmemmap.c | -rw-r--r-- | 5.9 KB |
sparse.c | -rw-r--r-- | 20.5 KB |
swap.c | -rw-r--r-- | 19.9 KB |
swap_state.c | -rw-r--r-- | 10.4 KB |
swapfile.c | -rw-r--r-- | 65.4 KB |
thrash.c | -rw-r--r-- | 3.9 KB |
truncate.c | -rw-r--r-- | 17.9 KB |
util.c | -rw-r--r-- | 7.3 KB |
vmalloc.c | -rw-r--r-- | 64.2 KB |
vmscan.c | -rw-r--r-- | 97.0 KB |
vmstat.c | -rw-r--r-- | 33.1 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...