USB virt 2.6 split driver---rbr mapper pool
PATCH 12/17 USB virt 2.6 split driver---rbr mapper pool
This patch implements the xenidc_rbr_mapper_pool which is a service for mapping remote buffer references into the local address space for interdomain bulk data transfer. This is used by the USB driver BE.
Signed-off-by Harry Butterworth <[email protected]>
linux-2.6-xen-sparse/drivers/xen/xenidc/Makefile +1 -0
@@ -17,3 +17,4 @@ xenidc-objs += xenidc_gateway_target_resource.o xenidc-objs += xenidc_endpoint.o xenidc-objs += xenidc_rbr_provider_pool.o +xenidc-objs += xenidc_rbr_mapper_pool.o
linux-2.6-xen-sparse/include/asm-xen/xenidc_rbr_provider_pool.h +6 -0
@@ -57,6 +57,12 @@ XENIDC_LOCAL_BUFFER_REFERENCE_ACCESS_FLAGS_READ#define XENIDC_CREATE_RBR_REQUEST_ELEMENT_ACCESS_FLAGS_WRITE \ XENIDC_LOCAL_BUFFER_REFERENCE_ACCESS_FLAGS_WRITE + +/* The client may create multiple remote buffer references with a single */ +/* request. This is required for the resource management strategy described */ +/* in the xenidc.h file. The parameters for each remote buffer reference */ +/* are passed using a xenidc_create_rbr_request_element structure. The */ +/* request has a list of these structures. */ /* The client may create multiple remote buffer references with a single */ /* request. This is required for the resource management strategy described */
linux-2.6-xen-sparse/drivers/xen/xenidc/xenidc_rbr_mapper_pool.c new file +370 -0
370 lines not on this page · raw message
linux-2.6-xen-sparse/include/asm-xen/xenidc_rbr_mapper_pool.h new file +213 -0
213 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel