Searched refs:pnetid (Results 1 – 10 of 10) sorted by relevance
/linux-6.3-rc2/net/smc/ |
A D | smc_pnet.c | 79 if (pnetid[0] == 0 || pnetid[0] == _S) in smc_pnet_is_pnetid_set() 154 ibdev->pnetid[ibport]); in smc_pnet_remove_by_pnetid() 173 smcd->pnetid); in smc_pnet_remove_by_pnetid() 303 *pnetid = '\0'; in smc_pnetid_valid() 438 smcd->pnetid); in smc_pnet_add_ib() 616 if (pnetid && !smc_pnet_match(pnetelem->pnet_name, pnetid)) in _smc_pnet_dump() 734 if (smc_pnet_match(pnetid, pe->pnetid)) { in smc_pnet_is_ndev_pnetid() 756 if (smc_pnet_match(pnetid, pe->pnetid)) { in smc_pnet_add_pnetid() 763 memcpy(pe->pnetid, pnetid, SMC_MAX_PNETID_LEN); in smc_pnet_add_pnetid() 778 if (smc_pnet_match(pnetid, pe->pnetid)) { in smc_pnet_remove_pnetid() [all …]
|
A D | smc_pnet.h | 43 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);
|
A D | smc_ism.c | 270 memcpy(smc_pnet, smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_handle_smcd_dev() 424 if (smc_pnetid_by_dev_port(&ism->pdev->dev, 0, smcd->pnetid)) in smcd_register_dev() 439 if (smcd->pnetid[0]) in smcd_register_dev() 446 dev_name(&ism->dev), smcd->pnetid, in smcd_register_dev()
|
A D | smc_ib.h | 46 u8 pnetid[SMC_MAX_PORTS][SMC_MAX_PNETID_LEN]; member
|
A D | smc_ib.c | 334 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id, in smc_ib_gid_check() 507 memcpy(smc_pnet, &smcibdev->pnetid[port], SMC_MAX_PNETID_LEN); in smc_nl_handle_dev_port() 970 smcibdev->pnetid[i])) in smc_ib_add_dev() 976 smcibdev->pnetid[i], in smc_ib_add_dev()
|
A D | smc_core.c | 532 memcpy(smc_pnet, lgr->smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_fill_smcd_lgr() 901 memcpy(lgr->pnet_id, ibdev->pnetid[ibport - 1], in smc_lgr_create() 1659 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id, in smcr_port_add() 1740 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id, in smcr_port_err()
|
A D | af_smc.c | 1026 if (!smc_pnet_is_pnetid_set(smcd->pnetid) || in smc_find_ism_v2_device_clnt() 1027 smc_pnet_is_ndev_pnetid(sock_net(&smc->sk), smcd->pnetid)) { in smc_find_ism_v2_device_clnt()
|
/linux-6.3-rc2/arch/s390/net/ |
A D | pnet.c | 71 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()
|
/linux-6.3-rc2/arch/s390/include/asm/ |
A D | pnet.h | 14 int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid);
|
/linux-6.3-rc2/include/net/ |
A D | smc.h | 84 u8 pnetid[SMC_MAX_PNETID_LEN]; member
|
Completed in 26 milliseconds