]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit2a01f0bb0ee4e9e31d6b429322f85baa561da384
treeb00e26bddfb09b915fbe1fd865bf436a6ac49fef
parent029aa907a9d949629a60f7289a422d10edb8661d
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