net/mlx5e: Vxlan, move vxlan logic to core driver
authorSaeed Mahameed <saeedm@mellanox.com>
Wed, 9 May 2018 20:28:00 +0000 (13:28 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Fri, 27 Jul 2018 22:46:13 +0000 (15:46 -0700)
commit358aa5ce288aa1085f0f3ef9f315119563fa6541
tree28ca218665a15c8c683e3c7df23c2b2dc228105e
parentaec4eab9af9606e8a6a1ceab3ec5a15030751876
net/mlx5e: Vxlan, move vxlan logic to core driver

Move vxlan logic and objects to mlx5 core dirver.
Since it going to be used from different mlx5 interfaces.
e.g. mlx5e PF NIC netdev and mlx5e E-Switch representors.

Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/Makefile
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.c [moved from drivers/net/ethernet/mellanox/mlx5/core/vxlan.c with 100% similarity]
drivers/net/ethernet/mellanox/mlx5/core/lib/vxlan.h [moved from drivers/net/ethernet/mellanox/mlx5/core/vxlan.h with 100% similarity]
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/driver.h