linux_dsm_epyc7002/drivers/net/xen-netback
David Vrabel d0e5d83284 net: xen-netback: correctly restart Tx after a VM restore/migrate
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 47103041e9 (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>
2011-10-03 14:15:46 -04:00
..
common.h xen: netback: use __CONST_RING_SIZE not __RING_SIZE 2011-05-17 15:27:35 -04:00
interface.c net: xen-netback: correctly restart Tx after a VM restore/migrate 2011-10-03 14:15:46 -04:00
Makefile
netback.c xen/netback: Add module alias for autoloading 2011-06-30 11:19:09 -07:00
xenbus.c Signed bit field; int have_hotplug_status_watch:1 2011-04-06 14:43:33 -07:00