net/mlx5: separate Netlink command interface
authorMatan Azrad <matan@mellanox.com>
Wed, 29 Jan 2020 12:38:47 +0000 (12:38 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commitc12671e3b7a211e6aad1681842aaea24934da30e
treee8c68026a94768eba66505ec749912e3b08605fc
parentd768f324d6c24eb376e6ce142f54e9cbdce49225
net/mlx5: separate Netlink command interface

The Netlink commands interfaces is included in the mlx5.h file with a
lot of other PMD interfaces.

As an arrangement to make the Netlink commands shared with different
PMDs, this patch moves the Netlink interface to a new file called
mlx5_nl.h.

Move non Netlink pure vlan commands from mlx5_nl.c to the
mlx5_vlan.c.

Rename Netlink commands and structures to use prefix mlx5_nl.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_nl.c
drivers/net/mlx5/mlx5_nl.h [new file with mode: 0644]
drivers/net/mlx5/mlx5_vlan.c