[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <3d49c6b6-def8-a58c-5eeb-ed9e7df3f289@cumulusnetworks.com>
Date: Sat, 31 Mar 2018 12:22:45 +0300
From: Nikolay Aleksandrov <nikolay@...ulusnetworks.com>
To: liujian56@...wei.com, davem@...emloft.net, j.vosburgh@...il.com,
vfalico@...il.com, andy@...yhouse.net
Cc: netdev@...r.kernel.org, weiyongjun1@...wei.com
Subject: Re: [PATCH] net: bond: skip vlan header when do layer 3+4 hash policy
On 31/03/18 12:14, liujian56@...wei.com wrote:
> From: liujian <liujian56@...wei.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@...wei.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.
Powered by blists - more mailing lists