From: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
To: "Mahesh Bandewar (महेश बंडेवार)" <maheshb@google.com>
Cc: Kosuke Tatsukawa <tatsu@ab.jp.nec.com>,
Jay Vosburgh <j.vosburgh@gmail.com>,
Veaceslav Falico <vfalico@gmail.com>,
Andy Gospodarek <andy@greyhouse.net>,
"netdev@vger.kernel.org" <netdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
Reinis Rozitis <r@roze.lv>
Subject: Re: [PATCH] net: bonding: Fix transmit load balancing in balance-alb mode if specified by sysfs
Date: Sat, 9 Sep 2017 14:23:08 +0300 [thread overview]
Message-ID: <43356b9d-77e5-4ccb-ee1b-f293d2fb130c@cumulusnetworks.com> (raw)
In-Reply-To: <9ae82441-78da-0056-88c1-2f9d863fb81f@cumulusnetworks.com>
On 09/09/17 13:29, Nikolay Aleksandrov wrote:
> On 09/09/17 02:54, Mahesh Bandewar (महेश बंडेवार) wrote:
>> On Fri, Sep 8, 2017 at 7:30 AM, Nikolay Aleksandrov
>> <nikolay@cumulusnetworks.com> wrote:
>>> On 08/09/17 17:17, Kosuke Tatsukawa wrote:
[snip]
>>>
>> I think the underlying issue is that tlb_dynamic_lb should be set to 1
>> for all modes which was not the case when it was getting initialized
>> only forTLB mode. So from that perspective I prefer Nik's patch with a
>> small variation that guards the case when mode transitions from TLB to
>> ALB. The reason why I like that patch is because it's simple and
>> avoids complications.
>
> +1, I think this is the most straight-forward solution as well and
> safest for -net
>
> I will go ahead and submit it in a few minutes.
>
> Thanks,
> Nik
>
Just FYI, since the second fix (tlb_dynamic_lb in TLB = 0 switch to ALB) is identical
to this patch, I'm acking this one and will wait until it's in to submit the default
value fix (if we start in non-TLB mode and switch to TLB we'll get dynamic_lb = 0
currently).
I guess this is the simplest way, I didn't want to alter user-configured value on
mode switch, but it seems better than the alternative especially for -net.
next prev parent reply other threads:[~2017-09-09 11:23 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-09-06 22:47 Kosuke Tatsukawa
2017-09-07 23:09 ` Nikolay Aleksandrov
2017-09-08 0:39 ` Mahesh Bandewar (महेश बंडेवार)
2017-09-08 0:47 ` Mahesh Bandewar (महेश बंडेवार)
2017-09-08 1:54 ` Mahesh Bandewar (महेश बंडेवार)
2017-09-08 2:06 ` Kosuke Tatsukawa
2017-09-08 10:10 ` Nikolay Aleksandrov
2017-09-08 10:13 ` Nikolay Aleksandrov
2017-09-08 14:17 ` Kosuke Tatsukawa
2017-09-08 14:30 ` Nikolay Aleksandrov
2017-09-08 23:54 ` Mahesh Bandewar (महेश बंडेवार)
2017-09-09 10:29 ` Nikolay Aleksandrov
2017-09-09 11:23 ` Nikolay Aleksandrov [this message]
2017-09-09 11:28 ` Nikolay Aleksandrov
2017-09-11 16:07 ` Mahesh Bandewar (महेश बंडेवार)
2017-09-11 16:30 ` Nikolay Aleksandrov
2017-09-11 21:26 ` David Miller
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=43356b9d-77e5-4ccb-ee1b-f293d2fb130c@cumulusnetworks.com \
--to=nikolay@cumulusnetworks.com \
--cc=andy@greyhouse.net \
--cc=j.vosburgh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=maheshb@google.com \
--cc=netdev@vger.kernel.org \
--cc=r@roze.lv \
--cc=tatsu@ab.jp.nec.com \
--cc=vfalico@gmail.com \
/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
all inboxes | Powered by JetHome®