Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/smc/
Dsmc_pnet.c76 bool smc_pnet_is_pnetid_set(u8 *pnetid) in smc_pnet_is_pnetid_set() argument
78 if (pnetid[0] == 0 || pnetid[0] == _S) in smc_pnet_is_pnetid_set()
146 ibdev->pnetid[ibport]))) { in smc_pnet_remove_by_pnetid()
152 ibdev->pnetid[ibport]); in smc_pnet_remove_by_pnetid()
153 memset(ibdev->pnetid[ibport], 0, in smc_pnet_remove_by_pnetid()
166 smc_pnet_match(pnet_name, smcd_dev->pnetid))) { in smc_pnet_remove_by_pnetid()
170 smcd_dev->pnetid); in smc_pnet_remove_by_pnetid()
171 memset(smcd_dev->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid()
251 if (!smc_pnet_is_pnetid_set(ib_dev->pnetid[ib_port - 1])) { in smc_pnet_apply_ib()
252 memcpy(ib_dev->pnetid[ib_port - 1], pnet_name, in smc_pnet_apply_ib()
[all …]
Dsmc_pnet.h43 u8 pnetid[SMC_MAX_PNETID_LEN]; member
48 unsigned short port, u8 *pnetid) in smc_pnetid_by_dev_port() argument
51 return pnet_id_by_dev_port(dev, port, pnetid); in smc_pnetid_by_dev_port()
68 bool smc_pnet_is_ndev_pnetid(struct net *net, u8 *pnetid);
69 bool smc_pnet_is_pnetid_set(u8 *pnetid);
Dsmc_ism.c320 if (smc_pnetid_by_dev_port(parent, 0, smcd->pnetid)) in smcd_alloc_dev()
345 if (smcd->pnetid[0]) in smcd_register_dev()
352 dev_name(&smcd->dev), smcd->pnetid, in smcd_register_dev()
Dsmc_ib.h45 u8 pnetid[SMC_MAX_PORTS][SMC_MAX_PNETID_LEN]; member
Dsmc_ib.c597 smcibdev->pnetid[i])) in smc_ib_add_dev()
602 smcibdev->pnetid[i], in smc_ib_add_dev()
Dsmc_core.c429 memcpy(lgr->pnet_id, ini->ib_dev->pnetid[ini->ib_port - 1], in smc_lgr_create()
1107 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id, in smcr_port_add()
1183 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id, in smcr_port_err()
Daf_smc.c643 if (!smc_pnet_is_pnetid_set(smcd->pnetid) || in smc_find_ism_v2_device_clnt()
644 smc_pnet_is_ndev_pnetid(sock_net(&smc->sk), smcd->pnetid)) { in smc_find_ism_v2_device_clnt()
/kernel/linux/linux-5.10/arch/s390/net/
Dpnet.c71 int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid) in pnet_id_by_dev_port() argument
82 memcpy(pnetid, pnetids[port], MAX_PNETID_LEN); in pnet_id_by_dev_port()
/kernel/linux/linux-5.10/arch/s390/include/asm/
Dpnet.h14 int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid);
/kernel/linux/linux-5.10/include/net/
Dsmc.h82 u8 pnetid[SMC_MAX_PNETID_LEN]; member