diff options
author | Andrew J. Bennieston <andrew.bennieston@citrix.com> | 2014-06-04 10:30:44 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-06-04 14:48:17 -0700 |
commit | 2688fcb79498246d45a0fa5900e415bc97661b6f (patch) | |
tree | 16df8085b09f6b6d530c1aef577d45a38223d2eb /drivers/target/target_core_fabric_lib.c | |
parent | 8d3d53b3e43363e79ab9a9ecc149b06c1314b25d (diff) |
xen-netfront: Factor queue-specific data into queue struct.
In preparation for multi-queue support in xen-netfront, move the
queue-specific data from struct netfront_info to struct netfront_queue,
and update the rest of the code to use this.
Also adds loops over queues where appropriate, even though only one is
configured at this point, and uses alloc_etherdev_mq() and the
corresponding multi-queue netif wake/start/stop functions in preparation
for multiple active queues.
Finally, implements a trivial queue selection function suitable for
ndo_select_queue, which simply returns 0, selecting the first (and
only) queue.
Signed-off-by: Andrew J. Bennieston <andrew.bennieston@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
Reviewed-by: David Vrabel <david.vrabel@citrix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/target/target_core_fabric_lib.c')
0 files changed, 0 insertions, 0 deletions