xen-netfront: split event channels support for Xen frontend driver
authorWei Liu <wei.liu2@citrix.com>
Wed, 22 May 2013 06:34:46 +0000 (06:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2013 01:40:37 +0000 (18:40 -0700)
commitd634bf2cb96639b7eddb646dc1fc17b1bc6e567f
treee02f4cd79084a55e5f29c081751e7db5df815d17
parente1f00a69ec26e3eb9847c61c665b8fb3f0c6b477
xen-netfront: split event channels support for Xen frontend driver

This patch adds a new feature called feature-split-event-channels for
netfront, enabling it to handle TX and RX events separately.

If netback does not support this feature, it falls back to use single event
channel.

If netfront fails to setup split event channels, it will try falling back to
single event channel.

Signed-off-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/xen-netfront.c