From: David Vrabel <david.vrabel@citrix.com>
To: Paul Durrant <Paul.Durrant@citrix.com>,
David Miller <davem@davemloft.net>
Cc: "netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"boris.ostrovsky@oracle.com" <boris.ostrovsky@oracle.com>,
Wei Liu <wei.liu2@citrix.com>,
Ian Campbell <Ian.Campbell@citrix.com>,
"xen-devel@lists.xen.org" <xen-devel@lists.xen.org>
Subject: Re: [Xen-devel] [PATCH net] xen-netback: bookkeep number of queues in our own module
Date: Mon, 23 Jun 2014 11:14:16 +0100 [thread overview]
Message-ID: <53A7FDF8.4070207@citrix.com> (raw)
In-Reply-To: <9AAE0902D5BC7E449B7C8E4E778ABCD03BC30C@AMSPEX01CL01.citrite.net>
On 23/06/14 10:20, Paul Durrant wrote:
>> -----Original Message-----
>> From: David Miller [mailto:davem@davemloft.net]
>> Sent: 23 June 2014 10:09
>> To: Paul Durrant
>> Cc: Wei Liu; xen-devel@lists.xen.org; netdev@vger.kernel.org;
>> boris.ostrovsky@oracle.com; Ian Campbell
>> Subject: Re: [PATCH net] xen-netback: bookkeep number of queues in our
>> own module
>>
>> From: Paul Durrant <Paul.Durrant@citrix.com>
>> Date: Mon, 23 Jun 2014 07:59:16 +0000
>>
>>> Bear in mind that the original intention of the multi-queue patches
>>> was to allow the queue selection algorithm to be negotiated with the
>>> frontend (see
>>> http://lists.xen.org/archives/html/xen-devel/2013-06/msg02654.html).
>> Particularly,
>>> if the frontend is Windows then netback will need to use a Toeplitz
>>> hash to steer traffic since this is stipulated by Microsoft's RSS
>>> (Receive Side Scaling) interfaces. So, IMO netback should always
>>> implement a select queue method, otherwise any (theoretical)
>>> algorithm change in __netdev_pick_tx() would be immediately imposed
>>> on frontends, possibly causing them to misbehave.
>>
>> I do not think you are obligated to use Toeplitz or whatever scheme
>> the other side wants, especially if the user on the xen-netback side
>> asked for XPS or similar to be used.
>
> If the frontend can only cope with one steering algorithm then how's
> that going to work? Flows would come in on the 'wrong' queue as far as
> the frontend is concerned and then who knows what would happen? If the
> frontend says it can only handle 'algorithm X' then the backend should
> either guarantee it's going to use 'algorthm X' or it should use a
> single queue.
We specify that frontends have to handle packets from any flow arriving
on any queue and and given the absence of any hashing negotiation we
should just use the default queue selection.
David
prev parent reply other threads:[~2014-06-23 10:14 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-18 14:09 [PATCH net] xen-netback: bookkeep number of queues in our own module Wei Liu
2014-06-18 14:18 ` Boris Ostrovsky
2014-06-18 14:21 ` Wei Liu
2014-06-18 14:30 ` Boris Ostrovsky
2014-06-18 14:34 ` [Xen-devel] " Sander Eikelenboom
2014-06-18 14:49 ` Wei Liu
2014-06-22 7:13 ` David Miller
2014-06-22 11:16 ` Wei Liu
2014-06-23 7:59 ` Paul Durrant
2014-06-23 8:48 ` Wei Liu
2014-06-23 9:18 ` Paul Durrant
2014-06-23 9:25 ` David Miller
2014-06-23 9:30 ` Paul Durrant
2014-06-23 9:08 ` David Miller
2014-06-23 9:20 ` Paul Durrant
2014-06-23 10:14 ` David Vrabel [this message]
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=53A7FDF8.4070207@citrix.com \
--to=david.vrabel@citrix.com \
--cc=Ian.Campbell@citrix.com \
--cc=Paul.Durrant@citrix.com \
--cc=boris.ostrovsky@oracle.com \
--cc=davem@davemloft.net \
--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).