Home
last modified time | relevance | path

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

/linux/include/net/
A Dsmc.h52 struct smcd_dev;
59 int (*add_vlan_id)(struct smcd_dev *dev, u64 vlan_id);
60 int (*del_vlan_id)(struct smcd_dev *dev, u64 vlan_id);
61 int (*set_vlan_required)(struct smcd_dev *dev);
62 int (*reset_vlan_required)(struct smcd_dev *dev);
68 void (*get_system_eid)(struct smcd_dev *dev, u8 **eid);
69 u16 (*get_chid)(struct smcd_dev *dev);
72 struct smcd_dev { struct
93 int smcd_register_dev(struct smcd_dev *smcd);
94 void smcd_unregister_dev(struct smcd_dev *smcd);
[all …]
/linux/net/smc/
A Dsmc_ism.h38 struct smcd_dev;
40 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *dev);
43 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id);
44 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id);
47 int smc_ism_unregister_dmb(struct smcd_dev *dev, struct smc_buf_desc *dmb_desc);
48 int smc_ism_write(struct smcd_dev *dev, const struct smc_ism_position *pos,
52 u16 smc_ism_get_chid(struct smcd_dev *dev);
A Dsmc_ism.c54 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid()
92 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan()
136 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan()
215 static int smc_nl_handle_smcd_dev(struct smcd_dev *smcd, in smc_nl_handle_smcd_dev()
283 struct smcd_dev *smcd; in smc_nl_prep_smcd_dev()
308 struct smcd_dev *smcd;
388 struct smcd_dev *smcd = container_of(dev, struct smcd_dev, dev); in smcd_release()
397 struct smcd_dev *smcd; in smcd_alloc_dev()
434 int smcd_register_dev(struct smcd_dev *smcd) in smcd_register_dev()
471 void smcd_unregister_dev(struct smcd_dev *smcd) in smcd_unregister_dev()
[all …]
A Dsmc_pnet.c105 struct smcd_dev *smcd_dev; in smc_pnet_remove_by_pnetid() local
164 if (smcd_dev->pnetid_by_user && in smc_pnet_remove_by_pnetid()
170 smcd_dev->pnetid); in smc_pnet_remove_by_pnetid()
263 static bool smc_pnet_apply_smcd(struct smcd_dev *smcd_dev, char *pnet_name) in smc_pnet_apply_smcd() argument
327 struct smcd_dev *smcd_dev; in smc_pnet_find_smcd() local
335 smcd_dev = NULL; in smc_pnet_find_smcd()
338 return smcd_dev; in smc_pnet_find_smcd()
408 struct smcd_dev *smcd_dev; in smc_pnet_add_ib() local
423 if (smcd_dev) { in smc_pnet_add_ib()
429 smcd_dev->pnetid); in smc_pnet_add_ib()
[all …]
A Dsmc_pnet.h22 struct smcd_dev;
64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
A Dsmc_core.h207 struct smcd_dev;
313 struct smcd_dev *smcd;
370 struct smcd_dev *ism_dev[SMC_MAX_ISM_DEVS + 1];
475 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid,
477 void smc_smcd_terminate_all(struct smcd_dev *dev);
A Dsmc_core.c549 static int smc_nl_handle_smcd_lgr(struct smcd_dev *dev, in smc_nl_handle_smcd_lgr()
581 struct smcd_dev *smcd_dev; in smc_nl_fill_smcd_dev() local
586 list_for_each_entry(smcd_dev, &dev_list->list, list) { in smc_nl_fill_smcd_dev()
587 if (list_empty(&smcd_dev->lgr_list)) in smc_nl_fill_smcd_dev()
591 rc = smc_nl_handle_smcd_lgr(smcd_dev, skb, cb); in smc_nl_fill_smcd_dev()
1413 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, unsigned short vlan) in smc_smcd_terminate()
1439 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all()
1761 struct smcd_dev *smcismdev, u64 peer_gid) in smcd_lgr_match()
2407 struct smcd_dev *smcd; in smc_core_going_away()
2428 struct smcd_dev *smcd; in smc_lgrs_shutdown()
A Dsmc_clc.h373 struct smcd_dev;
A Daf_smc.c689 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt()
1642 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected()
1660 struct smcd_dev *smcd; in smc_check_ism_v2_match()
/linux/drivers/s390/net/
A Dism_drv.c201 static int ism_query_rgid(struct smcd_dev *smcd, u64 rgid, u32 vid_valid, in ism_query_rgid()
253 static int ism_register_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in ism_register_dmb()
284 static int ism_unregister_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in ism_unregister_dmb()
305 static int ism_add_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in ism_add_vlan_id()
319 static int ism_del_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in ism_del_vlan_id()
333 static int ism_set_vlan_required(struct smcd_dev *smcd) in ism_set_vlan_required()
338 static int ism_reset_vlan_required(struct smcd_dev *smcd) in ism_reset_vlan_required()
343 static int ism_signal_ieq(struct smcd_dev *smcd, u64 rgid, u32 trigger_irq, in ism_signal_ieq()
367 static int ism_move(struct smcd_dev *smcd, u64 dmb_tok, unsigned int idx, in ism_move()
412 static void ism_get_system_eid(struct smcd_dev *smcd, u8 **eid) in ism_get_system_eid()
[all …]
A Dism.h195 struct smcd_dev *smcd;

Completed in 28 milliseconds