* [dpdk-dev] Bond port with multiple queues
@ 2015-12-02 13:11 Sergey Balabanov
2015-12-02 15:49 ` Declan Doherty
0 siblings, 1 reply; 2+ messages in thread
From: Sergey Balabanov @ 2015-12-02 13:11 UTC (permalink / raw)
To: dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [dpdk-dev] Bond port with multiple queues
2015-12-02 13:11 [dpdk-dev] Bond port with multiple queues Sergey Balabanov
@ 2015-12-02 15:49 ` Declan Doherty
0 siblings, 0 replies; 2+ messages in thread
From: Declan Doherty @ 2015-12-02 15:49 UTC (permalink / raw)
To: Sergey Balabanov, dev
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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-12-02 15:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-12-02 13:11 [dpdk-dev] Bond port with multiple queues Sergey Balabanov
2015-12-02 15:49 ` Declan Doherty
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).