Home
last modified time | relevance | path

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

/linux-6.3-rc2/net/smc/
A Dsmc_pnet.c79 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 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);
A Dsmc_ism.c270 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 Dsmc_ib.h46 u8 pnetid[SMC_MAX_PORTS][SMC_MAX_PNETID_LEN]; member
A Dsmc_ib.c334 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 Dsmc_core.c532 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 Daf_smc.c1026 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 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()
/linux-6.3-rc2/arch/s390/include/asm/
A Dpnet.h14 int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid);
/linux-6.3-rc2/include/net/
A Dsmc.h84 u8 pnetid[SMC_MAX_PNETID_LEN]; member

Completed in 26 milliseconds