From: David Miller <davem@davemloft.net>
To: wei.liu2@citrix.com
Cc: xen-devel@lists.xen.org, netdev@vger.kernel.org,
boris.ostrovsky@oracle.com, ian.campbell@citrix.com
Subject: Re: [PATCH net v2] xen-netback: bookkeep number of active queues in our own module
Date: Mon, 23 Jun 2014 02:11:10 -0700 (PDT) [thread overview]
Message-ID: <20140623.021110.1153969828079234680.davem@davemloft.net> (raw)
In-Reply-To: <20140623084032.GU20819@zion.uk.xensource.com>
From: Wei Liu <wei.liu2@citrix.com>
Date: Mon, 23 Jun 2014 09:40:32 +0100
> On Sun, Jun 22, 2014 at 05:21:05PM -0700, David Miller wrote:
>> From: Wei Liu <wei.liu2@citrix.com>
>> Date: Sun, 22 Jun 2014 14:31:41 +0100
>>
>> >
>> > + /* Initialisation completed, tell core driver the number of
>> > + * active queues.
>> > + */
>> > + rtnl_lock();
>> > + netif_set_real_num_tx_queues(be->vif->dev, requested_num_queues);
>> > + netif_set_real_num_rx_queues(be->vif->dev, requested_num_queues);
>> > + rtnl_unlock();
>> > +
>> > xenvif_carrier_on(be->vif);
>>
>> This function _NEVER_ set the number of RX queues beforehand,
>> therefore why are you adding an RX queue adjustment now?
>>
>
> As I went through the core driver code I found this to be a missing call
> in previous code.
>
> "In current Xen multiqueue design, the number of TX queues and RX queues
> are in fact the same. So we need to set the numbers of TX and RX queues
> to the same value."
>
> Does the above paragraph answers your question? If so, I will add it to
> commit message and resend this patch.
Yes.
next prev parent reply other threads:[~2014-06-23 9:11 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-22 13:31 [PATCH net v2] xen-netback: bookkeep number of active queues in our own module Wei Liu
2014-06-23 0:21 ` David Miller
2014-06-23 8:40 ` Wei Liu
2014-06-23 9:11 ` David Miller [this message]
2014-06-23 15:31 ` Is: automated testing before David M picks them up? Was: Re: [Xen-devel] " Konrad Rzeszutek Wilk
2014-06-27 19:34 ` David Miller
2014-06-30 8:39 ` Ian Campbell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20140623.021110.1153969828079234680.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=boris.ostrovsky@oracle.com \
--cc=ian.campbell@citrix.com \
--cc=netdev@vger.kernel.org \
--cc=wei.liu2@citrix.com \
--cc=xen-devel@lists.xen.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).