Home
last modified time | relevance | path

Searched refs:peer_gid (Results 1 – 8 of 8) sorted by relevance

/net/smc/
Dsmc_diag.c159 smc_gid_be16_convert(linfo.lnk[0].peer_gid, in __smc_diag_dump()
160 smc->conn.lnk->peer_gid); in __smc_diag_dump()
174 dinfo.peer_gid = conn->lgr->peer_gid; in __smc_diag_dump()
Dsmc_ism.c28 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk() argument
30 return smcd->ops->query_remote_gid(smcd, peer_gid, vlan_id ? 1 : 0, in smc_ism_cantalk()
199 dmb.rgid = lgr->peer_gid; in smc_ism_register_dmb()
356 rc = lgr->smcd->ops->signal_event(lgr->smcd, lgr->peer_gid, in smc_ism_signal_shutdown()
Dsmc_core.h124 u8 peer_gid[SMC_GID_SIZE]; /* gid of peer*/ member
293 u64 peer_gid; member
426 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid,
Dsmc_core.c362 smc_gid_be16_convert(smc_gid_target, link->peer_gid); in smc_nl_fill_lgr_link()
461 if (nla_put_u64_64bit(skb, SMC_NLA_LGR_D_PEER_GID, lgr->peer_gid, in smc_nl_fill_smcd_lgr()
808 lgr->peer_gid = ini->ism_peer_gid[ini->ism_selected]; in smc_lgr_create()
1341 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, unsigned short vlan) in smc_smcd_terminate() argument
1349 if ((!peer_gid || lgr->peer_gid == peer_gid) && in smc_smcd_terminate()
1351 if (peer_gid) /* peer triggered termination */ in smc_smcd_terminate()
1661 !memcmp(lgr->lnk[i].peer_gid, &lcl->gid, SMC_GID_SIZE) && in smcr_lgr_match()
1669 struct smcd_dev *smcismdev, u64 peer_gid) in smcd_lgr_match() argument
1671 return lgr->peer_gid == peer_gid && lgr->smcd == smcismdev; in smcd_lgr_match()
Dsmc_ism.h40 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *dev);
Dsmc_llc.c861 memcpy(link->peer_gid, add_llc->sender_gid, SMC_GID_SIZE); in smc_llc_save_add_link_info()
882 if (!memcmp(llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_cli_add_link()
1030 !memcmp(lgr->lnk[i].peer_gid, lgr->lnk[k].peer_gid, in smc_llc_find_asym_link()
1036 !memcmp(lgr->lnk[j].peer_gid, lgr->lnk[k].peer_gid, in smc_llc_find_asym_link()
1199 (!memcmp(add_llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_srv_add_link()
Dsmc_ib.c72 rdma_ah_set_dgid_raw(&qp_attr.ah_attr, lnk->peer_gid); in smc_ib_modify_qp_rtr()
Daf_smc.c522 memcpy(link->peer_gid, clc->r0.lcl.gid, SMC_GID_SIZE); in smc_link_save_peer_info()
943 !memcmp(l->peer_gid, &aclc->r0.lcl.gid, in smc_connect_rdma()