From: Wei Liu Date: Wed, 4 Jun 2014 09:30:42 +0000 (+0100) Subject: xen-netback: Factor queue-specific data into queue struct X-Git-Tag: omap-for-v3.16/fixes-against-rc1~36^2~76^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9ce7cb6b107407e4798e8905b18ad8b642766f6;p=pandora-kernel.git xen-netback: Factor queue-specific data into queue struct In preparation for multi-queue support in xen-netback, move the queue-specific data from struct xenvif into struct xenvif_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_netdev_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 for a single queue and uses skb_get_hash() to compute the queue index otherwise. Signed-off-by: Andrew J. Bennieston Signed-off-by: Wei Liu Signed-off-by: David S. Miller --- Reading git-diff-tree failed