net/mlx5: Split mdev init and pci init
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 29 Mar 2019 22:37:54 +0000 (15:37 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 2 Apr 2019 19:49:37 +0000 (12:49 -0700)
commit11f3b84d7068397df9f329b8bcf1177507061938
treeb00e26bddfb09b915fbe1fd865bf436a6ac49fef
parent868bc06b240334a0caf2de25898d2e97b895e3c9
net/mlx5: Split mdev init and pci init

Separate resources initialization from pci initialization.

This provides a better logical separation of mlx5 core device
initialization flow and will help to seamlessly support creating different
mlx5 device types such as PF, VF and SF mlx5 sub-function virtual device.

This patch does not change any functionality.

Signed-off-by: Vu Pham <vuhuong@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/main.c