team: Add vlan tx offload to hw_enc_features
authorYueHaibing <yuehaibing@huawei.com>
Thu, 8 Aug 2019 06:22:47 +0000 (14:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 9 Aug 2019 05:41:41 +0000 (22:41 -0700)
commit227f2f030e28d8783c3d10ce70ff4ba79cad653f
treeee4e4c9e91a5631ffa2540c8c88da51d070712af
parent414776621d1006e57e80e6db7fdc3837897aaa64
team: Add vlan tx offload to hw_enc_features

We should also enable team's vlan tx offload in hw_enc_features,
pass the vlan packets to the slave devices with vlan tci, let the
slave handle vlan tunneling offload implementation.

Fixes: 3268e5cb494d ("team: Advertise tunneling offload features")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/team/team.c