Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/net/
Dsmc.h52 struct smcd_dev;
55 int (*query_remote_gid)(struct smcd_dev *dev, u64 rgid, u32 vid_valid,
57 int (*register_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb);
58 int (*unregister_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb);
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);
63 int (*signal_event)(struct smcd_dev *dev, u64 rgid, u32 trigger_irq,
65 int (*move_data)(struct smcd_dev *dev, u64 dmb_tok, unsigned int idx,
[all …]
/kernel/linux/linux-5.10/net/smc/
Dsmc_ism.h40 struct smcd_dev;
42 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *dev);
45 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id);
46 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id);
49 int smc_ism_unregister_dmb(struct smcd_dev *dev, struct smc_buf_desc *dmb_desc);
50 int smc_ism_write(struct smcd_dev *dev, const struct smc_ism_position *pos,
53 void smc_ism_get_system_eid(struct smcd_dev *dev, u8 **eid);
54 u16 smc_ism_get_chid(struct smcd_dev *dev);
Dsmc_ism.c27 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk()
33 int smc_ism_write(struct smcd_dev *smcd, const struct smc_ism_position *pos, in smc_ism_write()
44 void smc_ism_get_system_eid(struct smcd_dev *smcd, u8 **eid) in smc_ism_get_system_eid()
49 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid()
81 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan()
125 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan()
159 int smc_ism_unregister_dmb(struct smcd_dev *smcd, struct smc_buf_desc *dmb_desc) in smc_ism_unregister_dmb()
206 struct smcd_dev *smcd;
286 struct smcd_dev *smcd = container_of(dev, struct smcd_dev, dev); in smcd_release()
292 struct smcd_dev *smcd_alloc_dev(struct device *parent, const char *name, in smcd_alloc_dev()
[all …]
Dsmc_pnet.c105 struct smcd_dev *smcd_dev; in smc_pnet_remove_by_pnetid() local
163 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_remove_by_pnetid()
164 if (smcd_dev->pnetid_by_user && in smc_pnet_remove_by_pnetid()
166 smc_pnet_match(pnet_name, smcd_dev->pnetid))) { in smc_pnet_remove_by_pnetid()
169 "%.16s\n", dev_name(&smcd_dev->dev), in smc_pnet_remove_by_pnetid()
170 smcd_dev->pnetid); in smc_pnet_remove_by_pnetid()
171 memset(smcd_dev->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid()
172 smcd_dev->pnetid_by_user = false; 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
268 if (!smc_pnet_is_pnetid_set(smcd_dev->pnetid)) { in smc_pnet_apply_smcd()
[all …]
Dsmc_pnet.h22 struct smcd_dev;
64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
Dsmc_core.h191 struct smcd_dev;
289 struct smcd_dev *smcd;
314 struct smcd_dev *ism_dev[SMC_MAX_ISM_DEVS + 1];
381 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid,
383 void smc_smcd_terminate_all(struct smcd_dev *dev);
Dsmc_clc.h318 struct smcd_dev;
Dsmc_core.c956 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, unsigned short vlan) in smc_smcd_terminate()
982 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all()
1282 struct smcd_dev *smcismdev, u64 peer_gid) in smcd_lgr_match()
1914 struct smcd_dev *smcd; in smc_core_going_away()
1935 struct smcd_dev *smcd; in smc_lgrs_shutdown()
Daf_smc.c630 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt()
1462 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected()
1480 struct smcd_dev *smcd; in smc_check_ism_v2_match()
/kernel/linux/linux-5.10/drivers/s390/net/
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 …]
Dism.h195 struct smcd_dev *smcd;