Subject: CVS commit: src/sys/arch/xen/xen
To: None <source-changes@NetBSD.org>
From: Manuel Bouyer <bouyer@netbsd.org>
List: source-changes
Date: 03/10/2005 17:12:13
Module Name:	src
Committed By:	bouyer
Date:		Thu Mar 10 17:12:13 UTC 2005

Modified Files:
	src/sys/arch/xen/xen: xennetback.c

Log Message:
- Don't reallocate transmit pages from xennetback_get_xmit_page(), as the
  previously-allocated pages may not have been loaned to the remote domain
  yet. Let the called deal with this.
- clean up the TX and RX loops to use less MASK_NETIF_xX_IDX() calls
- When we're done with the queued TX requests, try again in case some new
  ones are available
- avoid leaking a xmit page if we queued NB_XMIT_PAGES_BATCH requests.
- remove dead code.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 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.