net/mlx5/linux: refactor VLAN
authorOphir Munk <ophirmu@mellanox.com>
Tue, 25 Aug 2020 09:31:16 +0000 (09:31 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Fri, 18 Sep 2020 16:55:06 +0000 (18:55 +0200)
commit7af10d29a4a0b8942f8dee9eda0145cd7581a8f7
tree8eaa3b10a19e36c4df6c3bb69cf90a4632fd4674
parent8bb2410ea3ce520a2638a1e484daa2b73cd88338
net/mlx5/linux: refactor VLAN

File mlx5_vlan.c contains Netlink APIs (Linux dependent) as part of VM
workaround implementation. Move this implementation to file
linux/mlx5_vlan_os.c.  To remove Netlink dependency in header files
change pointer of type 'struct mlx5_nl_vlan_vmwa_context *' to 'void *'.

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/linux/meson.build
drivers/net/mlx5/linux/mlx5_vlan_os.c [new file with mode: 0644]
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_vlan.c