« Previous | Next » 

Revision e8b4c680

IDe8b4c680b41bd960ecccd9ff076b7b058e0afcd4

Added by Paolo Bonzini over 11 years ago

e1000: flush queue whenever can_receive can go from false to true

When the guests replenish the receive ring buffer, the network device
should flush its queue of pending packets. This is done with
qemu_flush_queued_packets.

e1000's can_receive can go from false to true when RCTL or RDT are
modified.

Reported-by: Luigi Rizzo <>
Cc: Stefan Hajnoczi <>
Cc: Jan Kiszka <>
Signed-off-by: Paolo Bonzini <>
Reviewed-by: Amos Kong <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences