xen-netback: Add support for multiple queues
authorAndrew J. Bennieston <andrew.bennieston@citrix.com>
Wed, 4 Jun 2014 09:30:43 +0000 (10:30 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 4 Jun 2014 21:48:16 +0000 (14:48 -0700)
commit8d3d53b3e43363e79ab9a9ecc149b06c1314b25d
tree210f923600d75e52d562ee851ba57de9daaeb5b7
parente9ce7cb6b107407e4798e8905b18ad8b642766f6
xen-netback: Add support for multiple queues

Builds on the refactoring of the previous patch to implement multiple
queues between xen-netfront and xen-netback.

Writes the maximum supported number of queues into XenStore, and reads
the values written by the frontend to determine how many queues to use.

Ring references and event channels are read from XenStore on a per-queue
basis and rings are connected accordingly.

Also adds code to handle the cleanup of any already initialised queues
if the initialisation of a subsequent queue fails.

Signed-off-by: Andrew J. Bennieston <andrew.bennieston@citrix.com>
Acked-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