]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Support tagged tunnel over bond
authorEli Britstein <elibr@mellanox.com>
Sun, 2 Jun 2019 13:47:59 +0000 (13:47 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 7 Jun 2019 21:40:37 +0000 (14:40 -0700)
commit2225fe695feae626e5b8df340cb558ed3d7b9385
tree1e2748d388f29bbb12e1865a427ef85b3df5fca6
parent5b4f36886d5c19276c64dc951109e91c335ce4bd
net/mlx5e: Support tagged tunnel over bond

Stacked devices like bond interface may have a VLAN device on top of
them. Detect lag state correctly under this condition, and return the
correct routed net device, according to it the encap header is built.

Fixes: c4ba17af1913 ("net/mlx5e: Support tunnel encap over tagged Ethernet")
Signed-off-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Roi Dayan <roid@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en/tc_tun.c