Home
last modified time | relevance | path

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

/linux/net/smc/
H A Dsmc_ism.h41 struct smcd_dev;
44 struct smcd_dev *dev);
47 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id);
48 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id);
51 void smc_ism_unregister_dmb(struct smcd_dev *dev,
53 bool smc_ism_support_dmb_nocopy(struct smcd_dev *smcd);
54 int smc_ism_attach_dmb(struct smcd_dev *dev, u64 token,
56 int smc_ism_detach_dmb(struct smcd_dev *dev, u64 token);
59 u16 smc_ism_get_chid(struct smcd_dev *dev);
66 static inline int smc_ism_write(struct smcd_dev *smcd, u64 dmb_tok, in smc_ism_write()
[all …]
H A Dsmc_ism.c72 struct smcd_dev *smcd) in smc_ism_cantalk()
90 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid()
133 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan()
179 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan()
215 void smc_ism_unregister_dmb(struct smcd_dev *smcd, in smc_ism_unregister_dmb()
260 bool smc_ism_support_dmb_nocopy(struct smcd_dev *smcd) in smc_ism_support_dmb_nocopy()
270 int smc_ism_attach_dmb(struct smcd_dev *dev, u64 token, in smc_ism_attach_dmb()
293 int smc_ism_detach_dmb(struct smcd_dev *dev, u64 token) in smc_ism_detach_dmb()
301 static int smc_nl_handle_smcd_dev(struct smcd_dev *smcd, in smc_nl_handle_smcd_dev()
371 struct smcd_dev *smcd; in smc_nl_prep_smcd_dev()
[all …]
H A 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->dibs->dev), smcd_name, in smc_pnet_find_smcd()
337 (smcd_dev->dibs->dev.parent && in smc_pnet_find_smcd()
[all …]
H A Dsmc_pnet.h22 struct smcd_dev;
64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
H A Dsmc_core.h255 struct smcd_dev;
381 struct smcd_dev *smcd;
447 struct smcd_dev *ism_dev[SMC_MAX_V2_ISM_DEVS + 1];
579 void smc_smcd_terminate(struct smcd_dev *dev, struct smcd_gid *peer_gid,
581 void smc_smcd_terminate_all(struct smcd_dev *dev);
H A 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()
893 struct smcd_dev *smcd; in smc_lgr_create()
1210 struct smcd_dev *smcd = conn->lgr->smcd; in smcd_buf_detach()
1609 void smc_smcd_terminate(struct smcd_dev *dev, struct smcd_gid *peer_gid, in smc_smcd_terminate()
1639 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all()
[all …]
H A Dsmc_diag.c170 struct smcd_dev *smcd = conn->lgr->smcd; in __smc_diag_dump()
H A Dsmc_clc.h442 struct smcd_dev;
H A Dsmc_clc.c858 struct smcd_dev *smcd; in smc_clc_send_proposal()
1055 struct smcd_dev *smcd = conn->lgr->smcd; in smcd_clc_prep_confirm_accept()
H A Daf_smc.c1068 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt()
2115 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected()
2134 struct smcd_dev *smcd; in smc_check_ism_v2_match()
/linux/include/net/
H A Dsmc.h39 struct smcd_dev { struct