Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-3] src/sys/arch/xen/xen



Module Name:    src
Committed By:   riz
Date:           Fri May 27 23:05:44 UTC 2005

Modified Files:
        src/sys/arch/xen/xen [netbsd-3]: xennetback.c

Log Message:
Pull up revision 1.11 (requested by bouyer in ticket #327):
- There is a possible race condition with the rx->event stuff, causing
  event not to be sent when one is needed. Fixing this would require
  one hypercall per packet, instead of one per NB_XMIT_PAGES_BATCH pages.
  It's not worth it, so always send an event at the end of xennetback_ifstart()
- there is no callback mechanism to notify us when a guest has handled
  packets we sent. If we stop transmitting because the ring is full or we're
  out of pages when the ifq is also full, nothing will call
  xennetback_ifstart() again and transmit is stalled. Abuse the watchdog
  to kick the transmit queue once second after an out of ressources
  condition.


To generate a diff of this commit:
cvs rdiff -r1.4.2.5 -r1.4.2.6 src/sys/arch/xen/xen/xennetback.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index