Home
last modified time | relevance | path

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

/net/smc/
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()
34 int smc_ism_write(struct smcd_dev *smcd, const struct smc_ism_position *pos, in smc_ism_write() argument
39 rc = smcd->ops->move_data(smcd, pos->token, pos->index, pos->signal, in smc_ism_write()
45 void smc_ism_get_system_eid(struct smcd_dev *smcd, u8 **eid) in smc_ism_get_system_eid() argument
47 smcd->ops->get_system_eid(smcd, eid); in smc_ism_get_system_eid()
50 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid() argument
52 return smcd->ops->get_chid(smcd); in smc_ism_get_chid()
66 spin_lock_irqsave(&conn->lgr->smcd->lock, flags); in smc_ism_set_conn()
67 conn->lgr->smcd->conn[conn->rmb_desc->sba_idx] = conn; in smc_ism_set_conn()
[all …]
Dsmc_core.c62 *lgr_lock = &lgr->smcd->lgr_lock; in smc_lgr_list_head()
63 return &lgr->smcd->lgr_list; in smc_lgr_list_head()
458 if (nla_put_u64_64bit(skb, SMC_NLA_LGR_D_GID, lgr->smcd->local_gid, in smc_nl_fill_smcd_lgr()
468 if (nla_put_u32(skb, SMC_NLA_LGR_D_CHID, smc_ism_get_chid(lgr->smcd))) in smc_nl_fill_smcd_lgr()
470 memcpy(smc_pnet, lgr->smcd->pnetid, SMC_MAX_PNETID_LEN); in smc_nl_fill_smcd_lgr()
809 lgr->smcd = ini->ism_dev[ini->ism_selected]; in smc_lgr_create()
811 lgr_lock = &lgr->smcd->lgr_lock; in smc_lgr_create()
1169 smc_ism_unregister_dmb(lgr->smcd, buf_desc); in smcd_buf_free()
1230 smc_ism_put_vlan(lgr->smcd, lgr->vlan_id); in smc_lgr_free()
1231 put_device(&lgr->smcd->dev); in smc_lgr_free()
[all …]
Daf_smc.c805 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt() local
812 list_for_each_entry(smcd, &smcd_dev_list.list, list) { in smc_find_ism_v2_device_clnt()
813 if (smcd->going_away || smcd == ini->ism_dev[0]) in smc_find_ism_v2_device_clnt()
815 chid = smc_ism_get_chid(smcd); in smc_find_ism_v2_device_clnt()
818 if (!smc_pnet_is_pnetid_set(smcd->pnetid) || in smc_find_ism_v2_device_clnt()
819 smc_pnet_is_ndev_pnetid(sock_net(&smc->sk), smcd->pnetid)) { in smc_find_ism_v2_device_clnt()
820 ini->ism_dev[i] = smcd; in smc_find_ism_v2_device_clnt()
1636 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected() argument
1643 if (smcd == ini->ism_dev[i]) in smc_is_already_selected()
1654 struct smcd_dev *smcd; in smc_check_ism_v2_match() local
[all …]
Dsmc_pnet.h64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
Dsmc_clc.c659 clc->d0.gid = conn->lgr->smcd->local_gid; in smc_clc_send_confirm_accept()
669 clc_v2->chid = htons(smc_ism_get_chid(conn->lgr->smcd)); in smc_clc_send_confirm_accept()
670 smc_ism_get_system_eid(conn->lgr->smcd, &eid); in smc_clc_send_confirm_accept()
Dsmc_diag.c175 dinfo.my_gid = conn->lgr->smcd->local_gid; in __smc_diag_dump()
Dsmc_core.h295 struct smcd_dev *smcd; member
Dsmc_tx.c274 rc = smc_ism_write(conn->lgr->smcd, &pos, data, len); in smcd_tx_ism_write()