Home
last modified time | relevance | path

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

/Linux-v6.1/net/smc/
Daf_smc.c1126 struct smc_init_info *alt_ini = NULL; in smc_fill_gid_list() local
1131 alt_ini = kzalloc(sizeof(*alt_ini), GFP_KERNEL); in smc_fill_gid_list()
1132 if (!alt_ini) in smc_fill_gid_list()
1135 alt_ini->vlan_id = lgr->vlan_id; in smc_fill_gid_list()
1136 alt_ini->check_smcrv2 = true; in smc_fill_gid_list()
1137 alt_ini->smcrv2.saddr = lgr->saddr; in smc_fill_gid_list()
1138 smc_pnet_find_alt_roce(lgr, alt_ini, known_dev); in smc_fill_gid_list()
1140 if (!alt_ini->smcrv2.ib_dev_v2) in smc_fill_gid_list()
1143 memcpy(gidlist->list[gidlist->len++], alt_ini->smcrv2.ib_gid_v2, in smc_fill_gid_list()
1147 kfree(alt_ini); in smc_fill_gid_list()