]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
team: Add vlan tx offload to hw_enc_features
authorYueHaibing <yuehaibing@huawei.com>
Thu, 8 Aug 2019 06:22:47 +0000 (14:22 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Aug 2019 08:50:29 +0000 (10:50 +0200)
commit46b06c8ad2937e0feaf713df8de40b1cb4f27a9d
tree2b4ce5895968ecd7b873480a7d7a48cc881aa17b
parent16e1dafa21acfe5c37934ec1e7414f1fba572279
team: Add vlan tx offload to hw_enc_features

[ Upstream commit 227f2f030e28d8783c3d10ce70ff4ba79cad653f ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/team/team.c