summaryrefslogtreecommitdiffstats
path: root/include/xen/interface
diff options
context:
space:
mode:
authorWei Liu <wei.liu2@citrix.com>2013-05-22 06:34:47 +0000
committerDavid S. Miller <davem@davemloft.net>2013-05-23 18:40:37 -0700
commita5560a6c17a4af4e8f45d5c1215ba7d5bb0ff109 (patch)
treea39dca4181d43db663b5796335fecbed7b0ed34f /include/xen/interface
parentd634bf2cb96639b7eddb646dc1fc17b1bc6e567f (diff)
downloadlinux-a5560a6c17a4af4e8f45d5c1215ba7d5bb0ff109.tar.gz
linux-a5560a6c17a4af4e8f45d5c1215ba7d5bb0ff109.tar.bz2
linux-a5560a6c17a4af4e8f45d5c1215ba7d5bb0ff109.zip
xen: netif.h: document feature-split-event-channels
This patch synchronises documentation for feature-split-event-channels from Xen canonical header file. Signed-off-by: Wei Liu <wei.liu2@citrix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/xen/interface')
-rw-r--r--include/xen/interface/io/netif.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/xen/interface/io/netif.h b/include/xen/interface/io/netif.h
index 3ef3fe05ee99..eb262e3324d2 100644
--- a/include/xen/interface/io/netif.h
+++ b/include/xen/interface/io/netif.h
@@ -38,6 +38,18 @@
* that it cannot safely queue packets (as it may not be kicked to send them).
*/
+ /*
+ * "feature-split-event-channels" is introduced to separate guest TX
+ * and RX notificaion. Backend either doesn't support this feature or
+ * advertise it via xenstore as 0 (disabled) or 1 (enabled).
+ *
+ * To make use of this feature, frontend should allocate two event
+ * channels for TX and RX, advertise them to backend as
+ * "event-channel-tx" and "event-channel-rx" respectively. If frontend
+ * doesn't want to use this feature, it just writes "event-channel"
+ * node as before.
+ */
+
/*
* This is the 'wire' format for packets:
* Request 1: xen_netif_tx_request -- XEN_NETTXF_* (any flags)