From: Andrew J. Bennieston Date: Wed, 4 Jun 2014 09:30:44 +0000 (+0100) Subject: xen-netfront: Factor queue-specific data into queue struct. X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~76^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2688fcb79498246d45a0fa5900e415bc97661b6f;p=pandora-kernel.git 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 Acked-by: Wei Liu Reviewed-by: David Vrabel Signed-off-by: David S. Miller --- Reading git-diff-tree failed