> -----Original Message----- > From: Nikolay Aleksandrov [mailto:[email protected]] > Sent: Saturday, March 31, 2018 5:23 PM > To: liujian (CE) <[email protected]>; [email protected]; > [email protected]; [email protected]; [email protected] > Cc: [email protected]; weiyongjun (A) <[email protected]> > Subject: Re: [PATCH] net: bond: skip vlan header when do layer 3+4 hash policy > > On 31/03/18 12:14, [email protected] wrote: > > From: liujian <[email protected]> > > > > 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 <[email protected]> > > --- > > 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.
Got it, thank you~
