net/mlx5: remove Verbs dependency in spawn struct
authorOphir Munk <ophirmu@mellanox.com>
Wed, 3 Jun 2020 15:06:02 +0000 (15:06 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Tue, 16 Jun 2020 17:21:07 +0000 (19:21 +0200)
commit834a9019ecf9cc2e31b5d7cdde2629958ac4f103
treeb342a10f63753f995eca6b894dc4a0cd37fb7eb0
parent10f3581dfddea87083527fe01f9bcb691bd16474
net/mlx5: remove Verbs dependency in spawn struct

1. Replace 'struct ibv_device *' with 'void *' in 'struct
mlx5_dev_spawn_data'. Define a getter function to retrieve the
device name.
2. Rename ibv_dev and ibv_port as phys_dev and phys_port
respectively.

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