Mailing List Archive

[PATCH 4/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. The above set are all hardware-agnostic
and so of wider relevance.

Signed-off-by: kmansley@solarflare.com

The following describes each of the patches that are attached.

xenbus_strstate_export
- Allow access to xenbus_strstate from modules. This is currently
used in code that could theoretically be compiled as a module, but in
particular it's of use to the new network accelerator plugin modules.

Export xenbus strstate for use by modules

diff -r 0c4b8115ffeb linux-2.6-xen-
sparse/drivers/xen/xenbus/xenbus_client.c
--- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_client.c Tue Oct 31
13:43:39 2006 +0000
+++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_client.c Tue Oct 31
13:45:37 2006 +0000
@@ -54,6 +54,7 @@ char *xenbus_strstate(enum xenbus_state
};
return (state < ARRAY_SIZE(name)) ? name[state] : "INVALID";
}
+EXPORT_SYMBOL_GPL(xenbus_strstate);

int xenbus_watch_path(struct xenbus_device *dev, const char *path,
struct xenbus_watch *watch,




_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel