net/mlx5e: Refactor VXLAN tunnel encap offloading code
authorOz Shlomo <ozsh@mellanox.com>
Wed, 14 Nov 2018 13:41:50 +0000 (15:41 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 10 Dec 2018 23:53:04 +0000 (15:53 -0800)
commitea7162ac3a33a44a7bb0b5793057015d25617e68
treeeed0d84396c66784b9d736ab864edee1e8b7a6d0
parentef381359e3a81422cee85ddee1f7dc3ac90f3c38
net/mlx5e: Refactor VXLAN tunnel encap offloading code

Separates the vxlan header encap logic from the general ipv4/6
encapsulation methods, thus allowing the common IP encap/decap code to
branch in downstream patch to multiple IP tunnels.

Code refactoring with no functional change.

Signed-off-by: Oz Shlomo <ozsh@mellanox.com>
Reviewed-by: Eli Britstein <elibr@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c