Skip to contentSkip to conversation

Add support for netfront/netback acceleration drivers

PATCH In review Kieran Mansley 1 participant 1 message Dec 1, 2006

lore
Share & tools
lore
#0 lore raw

PATCH 1/10 Add support for netfront/netback acceleration drivers

This set of patches adds the support for acceleration plugins to the netfront/netback drivers. These plugins are intended to support virtualisable network hardware that can be directly accessed from the guest, bypassing dom0.

This is in response to the RFC we posted to xen-devel with an outline of our approach at the end of September.

To follow will be another set of patches to provide our hardware specific drivers and plugins. This set are all hardware-agnostic and so of wider relevance.

Signed-off-by [email protected]

The following describes each of the patches that are attached.

makefile:
- Modify the xenbus driver makefile so that xenbus_backend_client.c is compiled for both dom0 and domU kernels. It was already accessible from domU if the unified kernel was used, and the utility functions it contains are useful in both frontend as well as backend.

Make xenbus_backend_client.o for both dom0 and domU kernels

diff -r 91951de7592c linux-2.6-xen-sparse/drivers/xen/xenbus/Makefile
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/Makefile Sun Nov 26
17:35:00 2006 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/Makefile Thu Nov 30
16:50:08 2006 +0000
@@ -1,13 +1,10 @@ obj-y += xenbus.o
obj-y += xenbus.o
-obj-$(CONFIG_XEN_BACKEND) += xenbus_be.o
-
-xenbus_be-objs =
-xenbus_be-objs += xenbus_backend_client.o

xenbus-objs =
xenbus-objs += xenbus_client.o
xenbus-objs += xenbus_comms.o
xenbus-objs += xenbus_xs.o
xenbus-objs += xenbus_probe.o
+xenbus-objs += xenbus_backend_client.o
obj-$(CONFIG_XEN_BACKEND) += xenbus_probe_backend.o obj-$(CONFIG_XEN_XENBUS_DEV) += xenbus_dev.o