On 31/03/18 12:14, liujia...@huawei.com wrote:
From: liujian <liujia...@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 <liujia...@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.

Reply via email to