Home
last modified time | relevance | path

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

/linux-5.19.10/net/smc/
Dsmc_pnet.c70 char ib_name[IB_DEVICE_NAME_MAX + 1]; member
306 static struct smc_ib_device *smc_pnet_find_ib(char *ib_name) in smc_pnet_find_ib() argument
312 if (!strncmp(ibdev->ibdev->name, ib_name, in smc_pnet_find_ib()
315 !strncmp(dev_name(ibdev->ibdev->dev.parent), ib_name, in smc_pnet_find_ib()
406 static int smc_pnet_add_ib(struct smc_pnettable *pnettable, char *ib_name, in smc_pnet_add_ib() argument
417 ib_dev = smc_pnet_find_ib(ib_name); in smc_pnet_add_ib()
427 smcd_dev = smc_pnet_find_smcd(ib_name); in smc_pnet_add_ib()
448 strncpy(new_pe->ib_name, ib_name, IB_DEVICE_NAME_MAX); in smc_pnet_add_ib()
455 !strncmp(tmp_pe->ib_name, ib_name, IB_DEVICE_NAME_MAX)) { in smc_pnet_add_ib()
543 if (nla_put_string(msg, SMC_PNETID_IBNAME, pnetelem->ib_name) || in smc_pnet_set_nla()
[all …]