/linux-master/arch/s390/include/asm/ |
H A D | pnet.h | 14 int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid);
|
/linux-master/net/smc/ |
H A D | smc_pnet.h | 43 u8 pnetid[SMC_MAX_PNETID_LEN]; member in struct:smc_pnetids_ndev_entry 48 unsigned short port, u8 *pnetid) 51 return pnet_id_by_dev_port(dev, port, pnetid); 68 bool smc_pnet_is_ndev_pnetid(struct net *net, u8 *pnetid); 69 bool smc_pnet_is_pnetid_set(u8 *pnetid); 47 smc_pnetid_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid) argument
|
H A D | smc_pnet.c | 76 /* Check if the pnetid is set */ 77 bool smc_pnet_is_pnetid_set(u8 *pnetid) argument 79 if (pnetid[0] == 0 || pnetid[0] == _S) 99 /* Remove a pnetid from the pnet table. 127 "pnetid %.16s\n", 148 ibdev->pnetid[ibport]))) { 151 "pnetid %.16s\n", 154 ibdev->pnetid[ibport]); 155 memset(ibdev->pnetid[ibpor 285 smc_pnetid_valid(const char *pnet_name, char *pnetid) argument 601 _smc_pnet_dump(struct net *net, struct sk_buff *skb, u32 portid, u32 seq, u8 *pnetid, int start_idx) argument 726 smc_pnet_is_ndev_pnetid(struct net *net, u8 *pnetid) argument 745 smc_pnet_add_pnetid(struct net *net, u8 *pnetid) argument 771 smc_pnet_remove_pnetid(struct net *net, u8 *pnetid) argument 954 smc_pnet_find_ndev_pnetid_by_table(struct net_device *ndev, u8 *pnetid) argument [all...] |
H A D | smc_ib.h | 46 u8 pnetid[SMC_MAX_PORTS][SMC_MAX_PNETID_LEN]; member in struct:smc_ib_device 47 /* pnetid per port */ 49 /* pnetid defined by user? */
|
H A D | smc_ism.c | 292 memcpy(smc_pnet, smcd->pnetid, SMC_MAX_PNETID_LEN); 450 if (smc_pnetid_by_dev_port(&ism->pdev->dev, 0, smcd->pnetid)) 458 /* sort list: devices without pnetid before devices with pnetid */ 459 if (smcd->pnetid[0]) 465 pr_warn_ratelimited("smc: adding smcd device %s with pnetid %.16s%s\n", 466 dev_name(&ism->dev), smcd->pnetid,
|
H A D | smc_ib.c | 335 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id, 508 memcpy(smc_pnet, &smcibdev->pnetid[port], SMC_MAX_PNETID_LEN); 971 smcibdev->pnetid[i])) 974 pr_warn_ratelimited("smc: ib device %s port %d has pnetid " 977 smcibdev->pnetid[i],
|
H A D | smc_core.c | 544 memcpy(smc_pnet, lgr->smcd->pnetid, SMC_MAX_PNETID_LEN); 920 memcpy(lgr->pnet_id, ibdev->pnetid[ibport - 1], 1649 "%s, pnetid %.16s\n", SMC_LGR_ID_SIZE, &lgr->id, 1683 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id, 1768 if (strncmp(smcibdev->pnetid[ibport - 1], lgr->pnet_id,
|
H A D | af_smc.c | 1062 if (!smc_pnet_is_pnetid_set(smcd->pnetid) || 1063 smc_pnet_is_ndev_pnetid(sock_net(&smc->sk), smcd->pnetid)) {
|
/linux-master/arch/s390/net/ |
H A D | pnet.c | 67 * Extract the pnetid for a device port. 69 * Return 0 if a pnetid is found and -ENOENT otherwise. 71 int pnet_id_by_dev_port(struct device *dev, unsigned short port, u8 *pnetid) argument 82 memcpy(pnetid, pnetids[port], MAX_PNETID_LEN); 90 MODULE_DESCRIPTION("pnetid determination from utility strings");
|
/linux-master/include/net/ |
H A D | smc.h | 89 u8 pnetid[SMC_MAX_PNETID_LEN]; member in struct:smcd_dev
|