Searched refs:ib_dev (Results 1 – 6 of 6) sorted by relevance
/net/smc/ |
D | smc_pnet.c | 247 static bool smc_pnet_apply_ib(struct smc_ib_device *ib_dev, u8 ib_port, in smc_pnet_apply_ib() argument 253 if (!smc_pnet_is_pnetid_set(ib_dev->pnetid[ib_port - 1])) { in smc_pnet_apply_ib() 254 memcpy(ib_dev->pnetid[ib_port - 1], pnet_name, in smc_pnet_apply_ib() 256 ib_dev->pnetid_by_user[ib_port - 1] = true; in smc_pnet_apply_ib() 411 struct smc_ib_device *ib_dev; in smc_pnet_add_ib() local 418 ib_dev = smc_pnet_find_ib(ib_name); in smc_pnet_add_ib() 419 if (ib_dev) { in smc_pnet_add_ib() 420 ibdev_applied = smc_pnet_apply_ib(ib_dev, ib_port, pnet_name); in smc_pnet_add_ib() 424 "%.16s\n", ib_dev->ibdev->name, in smc_pnet_add_ib() 426 ib_dev->pnetid[ib_port - 1]); in smc_pnet_add_ib() [all …]
|
D | smc_llc.c | 1054 if (!ini->ib_dev && !ini->smcrv2.ib_dev_v2) in smc_llc_cli_add_link() 1062 } else if (lgr->smc_version < SMC_V2 && !ini->ib_dev) { in smc_llc_cli_add_link() 1064 ini->ib_dev = link->smcibdev; in smc_llc_cli_add_link() 1174 if (!ini->ib_dev) in smc_llc_cli_add_link_invite() 1177 smc_llc_send_add_link(link, ini->ib_dev->mac[ini->ib_port - 1], in smc_llc_cli_add_link_invite() 1430 } else if (lgr->smc_version < SMC_V2 && !ini->ib_dev) { in smc_llc_srv_add_link() 1432 ini->ib_dev = link->smcibdev; in smc_llc_srv_add_link()
|
D | smc_core.h | 382 struct smc_ib_device *ib_dev; member
|
D | smc_clc.c | 875 memcpy(pclc_base->lcl.mac, &ini->ib_dev->mac[ini->ib_port - 1], in smc_clc_send_proposal()
|
D | smc_core.c | 749 lnk->smcibdev = ini->ib_dev; in smcr_link_init() 895 ibdev = ini->ib_dev; in smc_lgr_create()
|
D | af_smc.c | 996 if (!ini->check_smcrv2 && !ini->ib_dev) in smc_find_rdma_device()
|