xen-netback: split event channels support for Xen backend driver
authorWei Liu <wei.liu2@citrix.com>
Wed, 22 May 2013 06:34:45 +0000 (06:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2013 01:40:37 +0000 (18:40 -0700)
commite1f00a69ec26e3eb9847c61c665b8fb3f0c6b477
tree5958617283d231a3a58229e0e78a4d4623a569a5
parent8892475386e819aa50856947948c546ccc964d96
xen-netback: split event channels support for Xen backend driver

Netback and netfront only use one event channel to do TX / RX notification,
which may cause unnecessary wake-up of processing routines. This patch adds a
new feature called feature-split-event-channels to netback, enabling it to
handle TX and RX events separately.

Netback will use tx_irq to notify guest for TX completion, rx_irq for RX
notification.

If frontend doesn't support this feature, tx_irq equals to rx_irq.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netback/common.h
drivers/net/xen-netback/interface.c
drivers/net/xen-netback/netback.c
drivers/net/xen-netback/xenbus.c