Home
last modified time | relevance | path

Searched refs:alt_ini (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/net/smc/
Daf_smc.c1173 struct smc_init_info *alt_ini = NULL; in smc_fill_gid_list() local
1178 alt_ini = kzalloc(sizeof(*alt_ini), GFP_KERNEL); in smc_fill_gid_list()
1179 if (!alt_ini) in smc_fill_gid_list()
1182 alt_ini->vlan_id = lgr->vlan_id; in smc_fill_gid_list()
1183 alt_ini->check_smcrv2 = true; in smc_fill_gid_list()
1184 alt_ini->smcrv2.saddr = lgr->saddr; in smc_fill_gid_list()
1185 smc_pnet_find_alt_roce(lgr, alt_ini, known_dev); in smc_fill_gid_list()
1187 if (!alt_ini->smcrv2.ib_dev_v2) in smc_fill_gid_list()
1190 memcpy(gidlist->list[gidlist->len++], alt_ini->smcrv2.ib_gid_v2, in smc_fill_gid_list()
1194 kfree(alt_ini); in smc_fill_gid_list()