Home
last modified time | relevance | path

Searched refs:smcd_dev (Results 1 – 14 of 14) sorted by relevance

/linux-6.12.1/include/net/
Dsmc.h49 struct smcd_dev;
57 int (*query_remote_gid)(struct smcd_dev *dev, struct smcd_gid *rgid,
59 int (*register_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb,
61 int (*unregister_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb);
62 int (*move_data)(struct smcd_dev *dev, u64 dmb_tok, unsigned int idx,
66 void (*get_local_gid)(struct smcd_dev *dev, struct smcd_gid *gid);
67 u16 (*get_chid)(struct smcd_dev *dev);
68 struct device* (*get_dev)(struct smcd_dev *dev);
71 int (*add_vlan_id)(struct smcd_dev *dev, u64 vlan_id);
72 int (*del_vlan_id)(struct smcd_dev *dev, u64 vlan_id);
[all …]
/linux-6.12.1/net/smc/
Dsmc_ism.h40 struct smcd_dev;
43 struct smcd_dev *dev);
46 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id);
47 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id);
50 int smc_ism_unregister_dmb(struct smcd_dev *dev, struct smc_buf_desc *dmb_desc);
51 bool smc_ism_support_dmb_nocopy(struct smcd_dev *smcd);
52 int smc_ism_attach_dmb(struct smcd_dev *dev, u64 token,
54 int smc_ism_detach_dmb(struct smcd_dev *dev, u64 token);
57 u16 smc_ism_get_chid(struct smcd_dev *dev);
64 static inline int smc_ism_write(struct smcd_dev *smcd, u64 dmb_tok, in smc_ism_write()
[all …]
Dsmc_loopback.c42 static int smc_lo_query_rgid(struct smcd_dev *smcd, struct smcd_gid *rgid, in smc_lo_query_rgid()
54 static int smc_lo_register_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb, in smc_lo_register_dmb()
132 static int smc_lo_unregister_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in smc_lo_unregister_dmb()
156 static int smc_lo_support_dmb_nocopy(struct smcd_dev *smcd) in smc_lo_support_dmb_nocopy()
161 static int smc_lo_attach_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in smc_lo_attach_dmb()
195 static int smc_lo_detach_dmb(struct smcd_dev *smcd, u64 token) in smc_lo_detach_dmb()
219 static int smc_lo_move_data(struct smcd_dev *smcd, u64 dmb_tok, in smc_lo_move_data()
259 static void smc_lo_get_local_gid(struct smcd_dev *smcd, in smc_lo_get_local_gid()
268 static u16 smc_lo_get_chid(struct smcd_dev *smcd) in smc_lo_get_chid()
273 static struct device *smc_lo_get_dev(struct smcd_dev *smcd) in smc_lo_get_dev()
[all …]
Dsmc_ism.c69 struct smcd_dev *smcd) in smc_ism_cantalk()
83 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid()
126 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan()
172 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan()
208 int smc_ism_unregister_dmb(struct smcd_dev *smcd, struct smc_buf_desc *dmb_desc) in smc_ism_unregister_dmb()
253 bool smc_ism_support_dmb_nocopy(struct smcd_dev *smcd) in smc_ism_support_dmb_nocopy()
263 int smc_ism_attach_dmb(struct smcd_dev *dev, u64 token, in smc_ism_attach_dmb()
285 int smc_ism_detach_dmb(struct smcd_dev *dev, u64 token) in smc_ism_detach_dmb()
293 static int smc_nl_handle_smcd_dev(struct smcd_dev *smcd, in smc_nl_handle_smcd_dev()
363 struct smcd_dev *smcd; in smc_nl_prep_smcd_dev()
[all …]
Dsmc_pnet.c106 struct smcd_dev *smcd; in smc_pnet_remove_by_pnetid()
266 static bool smc_pnet_apply_smcd(struct smcd_dev *smcd_dev, char *pnet_name) in smc_pnet_apply_smcd() argument
271 if (!smc_pnet_is_pnetid_set(smcd_dev->pnetid)) { in smc_pnet_apply_smcd()
272 memcpy(smcd_dev->pnetid, pnet_name, SMC_MAX_PNETID_LEN); in smc_pnet_apply_smcd()
273 smcd_dev->pnetid_by_user = true; in smc_pnet_apply_smcd()
329 static struct smcd_dev *smc_pnet_find_smcd(char *smcd_name) in smc_pnet_find_smcd()
331 struct smcd_dev *smcd_dev; in smc_pnet_find_smcd() local
334 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_find_smcd()
335 if (!strncmp(dev_name(smcd_dev->ops->get_dev(smcd_dev)), in smc_pnet_find_smcd()
339 smcd_dev = NULL; in smc_pnet_find_smcd()
[all …]
Dsmc_pnet.h22 struct smcd_dev;
64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
Dsmc_core.h242 struct smcd_dev;
364 struct smcd_dev *smcd;
430 struct smcd_dev *ism_dev[SMC_MAX_V2_ISM_DEVS + 1];
557 void smc_smcd_terminate(struct smcd_dev *dev, struct smcd_gid *peer_gid,
559 void smc_smcd_terminate_all(struct smcd_dev *dev);
Dsmc_loopback.h36 struct smcd_dev *smcd;
Dsmc_core.c541 struct smcd_dev *smcd = lgr->smcd; in smc_nl_fill_smcd_lgr()
606 static int smc_nl_handle_smcd_lgr(struct smcd_dev *dev, in smc_nl_handle_smcd_lgr()
638 struct smcd_dev *smcd_dev; in smc_nl_fill_smcd_dev() local
643 list_for_each_entry(smcd_dev, &dev_list->list, list) { in smc_nl_fill_smcd_dev()
644 if (list_empty(&smcd_dev->lgr_list)) in smc_nl_fill_smcd_dev()
648 rc = smc_nl_handle_smcd_lgr(smcd_dev, skb, cb); in smc_nl_fill_smcd_dev()
874 struct smcd_dev *smcd; in smc_lgr_create()
1191 struct smcd_dev *smcd = conn->lgr->smcd; in smcd_buf_detach()
1590 void smc_smcd_terminate(struct smcd_dev *dev, struct smcd_gid *peer_gid, in smc_smcd_terminate()
1620 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all()
[all …]
Dsmc_clc.h426 struct smcd_dev;
Dsmc_diag.c170 struct smcd_dev *smcd = conn->lgr->smcd; in __smc_diag_dump()
Dsmc_clc.c842 struct smcd_dev *smcd; in smc_clc_send_proposal()
1038 struct smcd_dev *smcd = conn->lgr->smcd; in smcd_clc_prep_confirm_accept()
Daf_smc.c1037 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt()
2082 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected()
2101 struct smcd_dev *smcd; in smc_check_ism_v2_match()
/linux-6.12.1/drivers/s390/net/
Dism_drv.c741 static int smcd_query_rgid(struct smcd_dev *smcd, struct smcd_gid *rgid, in smcd_query_rgid()
747 static int smcd_register_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb, in smcd_register_dmb()
753 static int smcd_unregister_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in smcd_unregister_dmb()
758 static int smcd_add_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_add_vlan_id()
763 static int smcd_del_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_del_vlan_id()
768 static int smcd_set_vlan_required(struct smcd_dev *smcd) in smcd_set_vlan_required()
773 static int smcd_reset_vlan_required(struct smcd_dev *smcd) in smcd_reset_vlan_required()
795 static int smcd_signal_ieq(struct smcd_dev *smcd, struct smcd_gid *rgid, in smcd_signal_ieq()
802 static int smcd_move(struct smcd_dev *smcd, u64 dmb_tok, unsigned int idx, in smcd_move()
819 static void smcd_get_local_gid(struct smcd_dev *smcd, in smcd_get_local_gid()
[all …]