]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
net/mlx5: Move health and page alloc init to mdev_init
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 29 Mar 2019 22:37:55 +0000 (15:37 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 2 Apr 2019 19:49:37 +0000 (12:49 -0700)
commit52c368dc3da7beb7b283133024af1b6d07bf93b9
tree00bdfe723b94c29455414581a9963f194cf08e24
parent11f3b84d7068397df9f329b8bcf1177507061938
net/mlx5: Move health and page alloc init to mdev_init

Software structure initialization should be in mdev_init stage.

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/health.c
drivers/net/ethernet/mellanox/mlx5/core/main.c
include/linux/mlx5/driver.h