net/mlx5: reduce Netlink commands dependencies
authorMatan Azrad <matan@mellanox.com>
Wed, 29 Jan 2020 12:38:48 +0000 (12:38 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 5 Feb 2020 08:51:20 +0000 (09:51 +0100)
commitf22442cb5d42d6e40557819e46b7b2543b44fbf3
tree4a6b8853afa75aa49c1ffa61c82aa0bb77e9987f
parentc12671e3b7a211e6aad1681842aaea24934da30e
net/mlx5: reduce Netlink commands dependencies

As an arrangment for Netlink command moving to the common library,
reduce the net/mlx5 dependencies.

Replace ethdev class command parameters.

Improve Netlink sequence number mechanism to be controlled by the
mlx5 Netlink mechanism.

Move mlx5_nl_check_switch_info to mlx5_nl.c since it is the only one
which uses it.

Signed-off-by: Matan Azrad <matan@mellanox.com>
Acked-by: Viacheslav Ovsiienko <viacheslavo@mellanox.com>
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h
drivers/net/mlx5/mlx5_ethdev.c
drivers/net/mlx5/mlx5_mac.c
drivers/net/mlx5/mlx5_nl.c
drivers/net/mlx5/mlx5_nl.h
drivers/net/mlx5/mlx5_rxmode.c
drivers/net/mlx5/mlx5_vlan.c