net/mlx5: refactor PCI probing on Linux
authorOphir Munk <ophirmu@mellanox.com>
Wed, 3 Jun 2020 15:06:00 +0000 (15:06 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jun 2020 17:21:07 +0000 (19:21 +0200)
commit2eb4d0107acc2515e0ee1eceb49cf45e6d49fe76
treeb920eec63f19273e7fa569e4c394c884e104d5ef
parentc7f6ba0e5341c97aaf65bfc87855249cec94054a
net/mlx5: refactor PCI probing on Linux

Refactor PCI probing related code. Move Linux specific functions (as
well as verbs and dv related code) from mlx5.c file to linux/mlx5_os.c
file.

Signed-off-by: Ophir Munk <ophirmu@mellanox.com>
Acked-by: Matan Azrad <matan@mellanox.com>
drivers/net/mlx5/linux/mlx5_os.c
drivers/net/mlx5/mlx5.c
drivers/net/mlx5/mlx5.h