All of lore.kernel.org
 help / color / mirror / Atom feed
From: Declan Doherty <declan.doherty@intel.com>
To: Sergey Balabanov <balabanovsv@ecotelecom.ru>, dev <dev@dpdk.org>
Subject: Re: Bond port with multiple queues
Date: Wed, 2 Dec 2015 15:49:19 +0000	[thread overview]
Message-ID: <565F12FF.9030503@intel.com> (raw)
In-Reply-To: <1798136.BiEt3LMkbp@stand>

On 02/12/15 13:11, Sergey Balabanov wrote:
> Hello,
>
> I configured a bond port with 2 rx queues on it and added 2 slaves into the
> bond port. When I run traffic I get all packets on queue #0. This is quite
> expected when RSS turned off. When I turn on RSS all packets are distributed
> between two rx queues. There is no guarantee that I will get all packets from
> the slave port #0 on some queue and all packets from the slave port #1 on
> another queue.
> Does anybody know is there a way to configure bond port in a way when all traffic
> on port #0 goes to queue #0 and traffic on port #1 goes to queue #1?
>
> Thanks,
> Sergey Balabanov
>


Hey Sergey,

this is the behavior I would expect. The way we've implemented it the 
same RSS configuration will get applied to each slave, so in the case of 
say a fail over event in active backup mode as rx traffic is moved onto 
a new master the traffic flows will be directed to the same queues as 
before. If I understand what you are asking for I'm not sure why you 
need a bonded port, why not just used the 2 ports with a single queue 
each rather than a single bonded port with 2 queues?

Declan

      reply	other threads:[~2015-12-02 15:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-12-02 13:11 Bond port with multiple queues Sergey Balabanov
2015-12-02 15:49 ` Declan Doherty [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=565F12FF.9030503@intel.com \
    --to=declan.doherty@intel.com \
    --cc=balabanovsv@ecotelecom.ru \
    --cc=dev@dpdk.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.