Searched refs:pnetid (Results 1 – 10 of 10) sorted by relevance
/linux-5.19.10/net/smc/ |
D | smc_pnet.c | 77 bool smc_pnet_is_pnetid_set(u8 *pnetid) in smc_pnet_is_pnetid_set() argument 79 if (pnetid[0] == 0 || pnetid[0] == _S) in smc_pnet_is_pnetid_set() 147 ibdev->pnetid[ibport]))) { in smc_pnet_remove_by_pnetid() 153 ibdev->pnetid[ibport]); in smc_pnet_remove_by_pnetid() 154 memset(ibdev->pnetid[ibport], 0, in smc_pnet_remove_by_pnetid() 167 smc_pnet_match(pnet_name, smcd_dev->pnetid))) { in smc_pnet_remove_by_pnetid() 171 smcd_dev->pnetid); in smc_pnet_remove_by_pnetid() 172 memset(smcd_dev->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid() 252 if (!smc_pnet_is_pnetid_set(ib_dev->pnetid[ib_port - 1])) { in smc_pnet_apply_ib() 253 memcpy(ib_dev->pnetid[ib_port - 1], pnet_name, in smc_pnet_apply_ib() [all …]
|
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);
|
D | smc_ism.c | 258 memcpy(smc_pnet, smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_handle_smcd_dev() 423 if (smc_pnetid_by_dev_port(parent, 0, smcd->pnetid)) in smcd_alloc_dev() 451 if (smcd->pnetid[0]) in smcd_register_dev() 458 dev_name(&smcd->dev), smcd->pnetid, in smcd_register_dev()
|
D | smc_ib.h | 46 u8 pnetid[SMC_MAX_PORTS][SMC_MAX_PNETID_LEN]; member
|
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() 940 smcibdev->pnetid[i])) in smc_ib_add_dev() 946 smcibdev->pnetid[i], in smc_ib_add_dev()
|
D | smc_core.c | 528 memcpy(smc_pnet, lgr->smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_fill_smcd_lgr() 895 memcpy(lgr->pnet_id, ibdev->pnetid[ibport - 1], in smc_lgr_create() 1637 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id, in smcr_port_add() 1718 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id, in smcr_port_err()
|
D | af_smc.c | 980 if (!smc_pnet_is_pnetid_set(smcd->pnetid) || in smc_find_ism_v2_device_clnt() 981 smc_pnet_is_ndev_pnetid(sock_net(&smc->sk), smcd->pnetid)) { in smc_find_ism_v2_device_clnt()
|
/linux-5.19.10/arch/s390/net/ |
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-5.19.10/arch/s390/include/asm/ |
D | pnet.h | 14 int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid);
|
/linux-5.19.10/include/net/ |
D | smc.h | 82 u8 pnetid[SMC_MAX_PNETID_LEN]; member
|