[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20140514135819.GO6332@zion.uk.xensource.com>
Date: Wed, 14 May 2014 14:58:19 +0100
From: Wei Liu <wei.liu2@...rix.com>
To: "Andrew J. Bennieston" <andrew.bennieston@...rix.com>
CC: <xen-devel@...ts.xenproject.org>, <davem@...emloft.net>,
<ian.campbell@...rix.com>, <wei.liu2@...rix.com>,
<paul.durrant@...rix.com>, <netdev@...r.kernel.org>,
<david.vrabel@...rix.com>, <zoltan.kiss@...rix.com>
Subject: Re: [PATCH V8 net-next 2/6] xen-netback: Factor queue-specific data
into queue struct.
On Wed, May 14, 2014 at 02:52:26PM +0100, Andrew J. Bennieston wrote:
> From: "Andrew J. Bennieston" <andrew.bennieston@...rix.com>
>
> 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 <andrew.bennieston@...rix.com>
Acked-by: Wei Liu <wei.liu2@...rix.com>
Thanks!
Wei.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists