Searched refs:smcd_dev (Results 1 – 11 of 11) sorted by relevance
/linux-5.19.10/include/net/ |
D | smc.h | 52 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 …]
|
/linux-5.19.10/net/smc/ |
D | smc_ism.h | 38 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);
|
D | smc_ism.c | 30 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk() 36 int smc_ism_write(struct smcd_dev *smcd, const struct smc_ism_position *pos, in smc_ism_write() 55 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid() 93 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan() 137 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan() 171 int smc_ism_unregister_dmb(struct smcd_dev *smcd, struct smc_buf_desc *dmb_desc) in smc_ism_unregister_dmb() 216 static int smc_nl_handle_smcd_dev(struct smcd_dev *smcd, in smc_nl_handle_smcd_dev() 284 struct smcd_dev *smcd; in smc_nl_prep_smcd_dev() 309 struct smcd_dev *smcd; 389 struct smcd_dev *smcd = container_of(dev, struct smcd_dev, dev); in smcd_release() [all …]
|
D | smc_pnet.c | 106 struct smcd_dev *smcd_dev; in smc_pnet_remove_by_pnetid() local 164 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_remove_by_pnetid() 165 if (smcd_dev->pnetid_by_user && in smc_pnet_remove_by_pnetid() 167 smc_pnet_match(pnet_name, smcd_dev->pnetid))) { in smc_pnet_remove_by_pnetid() 170 "%.16s\n", dev_name(&smcd_dev->dev), in smc_pnet_remove_by_pnetid() 171 smcd_dev->pnetid); in smc_pnet_remove_by_pnetid() 172 memset(smcd_dev->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid() 173 smcd_dev->pnetid_by_user = false; in smc_pnet_remove_by_pnetid() 264 static bool smc_pnet_apply_smcd(struct smcd_dev *smcd_dev, char *pnet_name) in smc_pnet_apply_smcd() argument 269 if (!smc_pnet_is_pnetid_set(smcd_dev->pnetid)) { in smc_pnet_apply_smcd() [all …]
|
D | smc_pnet.h | 22 struct smcd_dev; 64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
|
D | smc_core.h | 211 struct smcd_dev; 320 struct smcd_dev *smcd; 377 struct smcd_dev *ism_dev[SMC_MAX_ISM_DEVS + 1]; 504 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, 506 void smc_smcd_terminate_all(struct smcd_dev *dev);
|
D | smc_core.c | 553 static int smc_nl_handle_smcd_lgr(struct smcd_dev *dev, in smc_nl_handle_smcd_lgr() 585 struct smcd_dev *smcd_dev; in smc_nl_fill_smcd_dev() local 590 list_for_each_entry(smcd_dev, &dev_list->list, list) { in smc_nl_fill_smcd_dev() 591 if (list_empty(&smcd_dev->lgr_list)) in smc_nl_fill_smcd_dev() 595 rc = smc_nl_handle_smcd_lgr(smcd_dev, skb, cb); in smc_nl_fill_smcd_dev() 1486 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, unsigned short vlan) in smc_smcd_terminate() 1512 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all() 1827 struct smcd_dev *smcismdev, u64 peer_gid) in smcd_lgr_match() 2482 struct smcd_dev *smcd; in smc_core_going_away() 2503 struct smcd_dev *smcd; in smc_lgrs_shutdown()
|
D | smc_clc.h | 373 struct smcd_dev;
|
D | af_smc.c | 967 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt() 1969 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected() 1987 struct smcd_dev *smcd; in smc_check_ism_v2_match()
|
/linux-5.19.10/drivers/s390/net/ |
D | ism_drv.c | 201 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 …]
|
D | ism.h | 195 struct smcd_dev *smcd;
|