From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Vrabel Subject: Re: [PATCH V3 net-next 4/5] xen-netfront: Add support for multiple queues Date: Fri, 14 Feb 2014 18:11:45 +0000 Message-ID: <52FE5C61.6000807__23151.8743829385$1392401622$gmane$org@citrix.com> References: <1392399353-11973-1-git-send-email-andrew.bennieston@citrix.com> <1392399353-11973-5-git-send-email-andrew.bennieston@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1WENF2-000671-Gi for xen-devel@lists.xenproject.org; Fri, 14 Feb 2014 18:12:00 +0000 In-Reply-To: <1392399353-11973-5-git-send-email-andrew.bennieston@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: "Andrew J. Bennieston" Cc: xen-devel@lists.xenproject.org, paul.durrant@citrix.com, wei.liu2@citrix.com, ian.campbell@citrix.com, netdev@vger.kernel.org List-Id: xen-devel@lists.xenproject.org On 14/02/14 17:35, Andrew J. Bennieston wrote: > From: "Andrew J. Bennieston" > > Build on the refactoring of the previous patch to implement multiple > queues between xen-netfront and xen-netback. > > Check XenStore for multi-queue support, and set up the rings and event > channels accordingly. > > Write ring references and event channels to XenStore in a queue > hierarchy if appropriate, or flat when using only one queue. > > Update the xennet_select_queue() function to choose the queue on which > to transmit a packet based on the skb hash result. [...] > --- a/drivers/net/xen-netfront.c > +++ b/drivers/net/xen-netfront.c > @@ -57,6 +57,10 @@ > #include > #include > > +/* Module parameters */ > +unsigned int xennet_max_queues; > +module_param(xennet_max_queues, uint, 0644); Module parameter should have some documentation with MODULE_PARAM_DESC() or similar. Otherwise, Reviewed-by: David Vrabel David