From: Nikolay Aleksandrov <nikolay@cumulusnetworks.com>
To: liujian56@huawei.com, davem@davemloft.net, j.vosburgh@gmail.com,
vfalico@gmail.com, andy@greyhouse.net
Cc: netdev@vger.kernel.org, weiyongjun1@huawei.com
Subject: Re: [PATCH] net: bond: skip vlan header when do layer 3+4 hash policy
Date: Sat, 31 Mar 2018 12:22:45 +0300 [thread overview]
Message-ID: <3d49c6b6-def8-a58c-5eeb-ed9e7df3f289@cumulusnetworks.com> (raw)
In-Reply-To: <1522487670-15796-1-git-send-email-liujian56@huawei.com>
On 31/03/18 12:14, liujian56@huawei.com wrote:
> From: liujian <liujian56@huawei.com>
>
> When the hash policy is BOND_XMIT_POLICY_LAYER34 mode and skb protocol
> is 802.1q VLAN, the policy will be degenerated to LAYER2 mode; Now,
> change it to get the next layer protocol to ensure that it worked in
> BOND_XMIT_POLICY_LAYER34 mode.
>
> Signed-off-by: liujian <liujian56@huawei.com>
> ---
> drivers/net/bonding/bond_main.c | 11 ++++++++---
> 1 file changed, 8 insertions(+), 3 deletions(-)
Nak
Use BOND_XMIT_POLICY_ENCAP34 (encap3+4), that was one of the main reasons it was added.
next prev parent reply other threads:[~2018-03-31 9:22 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-03-31 9:14 [PATCH] net: bond: skip vlan header when do layer 3+4 hash policy liujian56
2018-03-31 9:22 ` Nikolay Aleksandrov [this message]
2018-04-02 10:53 ` liujian (CE)
2018-03-31 23:59 ` kbuild test robot
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=3d49c6b6-def8-a58c-5eeb-ed9e7df3f289@cumulusnetworks.com \
--to=nikolay@cumulusnetworks.com \
--cc=andy@greyhouse.net \
--cc=davem@davemloft.net \
--cc=j.vosburgh@gmail.com \
--cc=liujian56@huawei.com \
--cc=netdev@vger.kernel.org \
--cc=vfalico@gmail.com \
--cc=weiyongjun1@huawei.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