Searched refs:ibv_list (Results 1 – 3 of 3) sorted by relevance
112 struct ibv_device **ibv_list = mlx5_glue->get_device_list(&n); in mlx5_get_aux_ibv_device() local115 if (!ibv_list) { in mlx5_get_aux_ibv_device()123 if (strcmp(ibv_list[n]->name, ib_name) != 0) in mlx5_get_aux_ibv_device()125 ibv_match = ibv_list[n]; in mlx5_get_aux_ibv_device()131 mlx5_glue->free_device_list(ibv_list); in mlx5_get_aux_ibv_device()
560 struct ibv_device **ibv_list = mlx5_glue->get_device_list(&n); in mlx5_os_get_ibv_device() local567 if (ibv_list == NULL || !n) { in mlx5_os_get_ibv_device()569 if (ibv_list) in mlx5_os_get_ibv_device()570 mlx5_glue->free_device_list(ibv_list); in mlx5_os_get_ibv_device()575 DRV_LOG(DEBUG, "Checking device \"%s\"..", ibv_list[n]->name); in mlx5_os_get_ibv_device()576 if (mlx5_get_pci_addr(ibv_list[n]->ibdev_path, &paddr) != 0) in mlx5_os_get_ibv_device()581 if ((strstr(ibv_list[n]->name, "bond") && in mlx5_os_get_ibv_device()586 ibv_match = ibv_list[n]; in mlx5_os_get_ibv_device()597 mlx5_glue->free_device_list(ibv_list); in mlx5_os_get_ibv_device()
1885 struct ibv_device **ibv_list; in mlx5_os_pci_probe_pf() local1918 ibv_list = mlx5_glue->get_device_list(&ret); in mlx5_os_pci_probe_pf()1919 if (!ibv_list) { in mlx5_os_pci_probe_pf()1950 "\"%s\" found", ibv_list[ret]->name); in mlx5_os_pci_probe_pf()1960 bd, ibv_list[ret]->name); in mlx5_os_pci_probe_pf()1961 ibv_match[nd++] = ibv_list[ret]; in mlx5_os_pci_probe_pf()1965 if (mlx5_get_pci_addr(ibv_list[ret]->ibdev_path, in mlx5_os_pci_probe_pf()1974 ibv_list[ret]->name); in mlx5_os_pci_probe_pf()1975 ibv_match[nd++] = ibv_list[ret]; in mlx5_os_pci_probe_pf()2325 MLX5_ASSERT(ibv_list); in mlx5_os_pci_probe_pf()[all …]