]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Tunnel routing output devs helper function
authorEli Britstein <elibr@mellanox.com>
Tue, 18 Dec 2018 07:46:00 +0000 (09:46 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 20 Dec 2018 13:06:01 +0000 (05:06 -0800)
commit6570ee68668b0ea0630f7e07ed68d45105c5af8b
treee2bd7d846cfc6c385d2c6dad1581b38b665725a4
parenta3a0126a5cbc2d63958dd4e56da09602e80c322b
net/mlx5e: Tunnel routing output devs helper function

For tunnel we determine the output devs for IPv4/6 cases, in two
separate functions, with a duplicated code.

Move that code from IPv4/6 functions to a helper function, with no
functional change.

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