]> 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)
commitd96c95a2ac42123749640c5a6e4a0c5ed0d6f4d7
tree1e2748d388f29bbb12e1865a427ef85b3df5fca6
parent5600e1472c1dc7fa98752ade0362903eceff8953
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: 4dcb398fc844 ("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