]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5: Function setup/teardown procedures
authorSaeed Mahameed <saeedm@mellanox.com>
Fri, 29 Mar 2019 22:37:56 +0000 (15:37 -0700)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 2 Apr 2019 19:49:37 +0000 (12:49 -0700)
commite161105e58da81fa9170921284559800fd6aa86a
treed5a8e408ca263784b486815b3ebe9e98995bb1e8
parent52c368dc3da7beb7b283133024af1b6d07bf93b9
net/mlx5: Function setup/teardown procedures

Function setup and teardown procedures are the basic procedure that
each mlx5 pci function should perform to boot up a mlx5 device function
and initialize basic communication with FW, before allocating any higher
level software/firmware resources.

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