Lines Matching refs:ini
959 struct smc_init_info *ini, in _smc_pnet_find_roce_by_pnetid() argument
965 ini->ib_dev = NULL; in _smc_pnet_find_roce_by_pnetid()
976 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, in _smc_pnet_find_roce_by_pnetid()
977 ini->ib_gid, NULL)) { in _smc_pnet_find_roce_by_pnetid()
978 ini->ib_dev = ibdev; in _smc_pnet_find_roce_by_pnetid()
979 ini->ib_port = i; in _smc_pnet_find_roce_by_pnetid()
990 struct smc_init_info *ini, in smc_pnet_find_alt_roce() argument
993 _smc_pnet_find_roce_by_pnetid(lgr->pnet_id, ini, known_dev); in smc_pnet_find_alt_roce()
1000 struct smc_init_info *ini) in smc_pnet_find_rdma_dev() argument
1021 !smc_ib_determine_gid(ibdev, i, ini->vlan_id, in smc_pnet_find_rdma_dev()
1022 ini->ib_gid, NULL)) { in smc_pnet_find_rdma_dev()
1023 ini->ib_dev = ibdev; in smc_pnet_find_rdma_dev()
1024 ini->ib_port = i; in smc_pnet_find_rdma_dev()
1039 struct smc_init_info *ini) in smc_pnet_find_roce_by_pnetid() argument
1047 smc_pnet_find_rdma_dev(ndev, ini); in smc_pnet_find_roce_by_pnetid()
1050 _smc_pnet_find_roce_by_pnetid(ndev_pnetid, ini, NULL); in smc_pnet_find_roce_by_pnetid()
1054 struct smc_init_info *ini) in smc_pnet_find_ism_by_pnetid() argument
1069 (!ini->ism_peer_gid[0] || in smc_pnet_find_ism_by_pnetid()
1070 !smc_ism_cantalk(ini->ism_peer_gid[0], ini->vlan_id, in smc_pnet_find_ism_by_pnetid()
1072 ini->ism_dev[0] = ismdev; in smc_pnet_find_ism_by_pnetid()
1083 void smc_pnet_find_roce_resource(struct sock *sk, struct smc_init_info *ini) in smc_pnet_find_roce_resource() argument
1087 ini->ib_dev = NULL; in smc_pnet_find_roce_resource()
1088 ini->ib_port = 0; in smc_pnet_find_roce_resource()
1094 smc_pnet_find_roce_by_pnetid(dst->dev, ini); in smc_pnet_find_roce_resource()
1102 void smc_pnet_find_ism_resource(struct sock *sk, struct smc_init_info *ini) in smc_pnet_find_ism_resource() argument
1106 ini->ism_dev[0] = NULL; in smc_pnet_find_ism_resource()
1112 smc_pnet_find_ism_by_pnetid(dst->dev, ini); in smc_pnet_find_ism_resource()