Home
last modified time | relevance | path

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

/linux-5.19.10/include/uapi/linux/
Dsmc_diag.h91 __u8 peer_gid[40]; /* peer GID */ member
106 __aligned_u64 peer_gid; /* Peer GID */ member
/linux-5.19.10/net/smc/
Dsmc_diag.c160 smc_gid_be16_convert(linfo.lnk[0].peer_gid, link->peer_gid); in __smc_diag_dump()
174 dinfo.peer_gid = conn->lgr->peer_gid; in __smc_diag_dump()
Dsmc_core.h136 u8 peer_gid[SMC_GID_SIZE]; /* gid of peer*/ member
318 u64 peer_gid; member
367 u8 peer_gid[SMC_GID_SIZE]; member
504 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid,
Dsmc_ism.c30 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk() argument
32 return smcd->ops->query_remote_gid(smcd, peer_gid, vlan_id ? 1 : 0, in smc_ism_cantalk()
204 dmb.rgid = lgr->peer_gid; in smc_ism_register_dmb()
361 rc = lgr->smcd->ops->signal_event(lgr->smcd, lgr->peer_gid, in smc_ism_signal_shutdown()
Dsmc_ism.h40 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *dev);
Dsmc_core.c423 smc_gid_be16_convert(smc_gid_target, link->peer_gid); in smc_nl_fill_lgr_link()
519 if (nla_put_u64_64bit(skb, SMC_NLA_LGR_D_PEER_GID, lgr->peer_gid, in smc_nl_fill_smcd_lgr()
868 lgr->peer_gid = ini->ism_peer_gid[ini->ism_selected]; in smc_lgr_create()
1486 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, unsigned short vlan) in smc_smcd_terminate() argument
1494 if ((!peer_gid || lgr->peer_gid == peer_gid) && in smc_smcd_terminate()
1496 if (peer_gid) /* peer triggered termination */ in smc_smcd_terminate()
1797 u8 peer_gid[], in smcr_lgr_match() argument
1818 !memcmp(lnk->peer_gid, peer_gid, SMC_GID_SIZE) && in smcr_lgr_match()
1827 struct smcd_dev *smcismdev, u64 peer_gid) in smcd_lgr_match() argument
1829 return lgr->peer_gid == peer_gid && lgr->smcd == smcismdev; in smcd_lgr_match()
[all …]
Dsmc_llc.c1011 memcpy(link->peer_gid, add_llc->sender_gid, SMC_GID_SIZE); in smc_llc_save_add_link_info()
1043 if (!memcmp(llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_cli_add_link()
1249 !memcmp(lgr->lnk[i].peer_gid, lgr->lnk[k].peer_gid, in smc_llc_find_asym_link()
1255 !memcmp(lgr->lnk[j].peer_gid, lgr->lnk[k].peer_gid, in smc_llc_find_asym_link()
1461 (!memcmp(add_llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_srv_add_link()
Daf_smc.c665 memcpy(link->peer_gid, ini->peer_gid, SMC_GID_SIZE); in smc_link_save_peer_info()
1160 memcpy(ini->peer_gid, aclc->r0.lcl.gid, SMC_GID_SIZE); in smc_connect_rdma()
1185 !memcmp(l->peer_gid, &aclc->r0.lcl.gid, in smc_connect_rdma()
2137 memcpy(ini->peer_gid, smc_v2_ext->roce, SMC_GID_SIZE); in smc_find_rdma_v2_device_serv()
2178 memcpy(ini->peer_gid, pclc->lcl.gid, SMC_GID_SIZE); in smc_find_rdma_v1_device_serv()
Dsmc_ib.c78 rdma_ah_set_dgid_raw(&qp_attr.ah_attr, lnk->peer_gid); in smc_ib_modify_qp_rtr()