Searched refs:smcd_dev (Results 1 – 12 of 12) sorted by relevance
/linux-6.6.21/include/net/ |
D | smc.h | 52 struct smcd_dev; 56 int (*query_remote_gid)(struct smcd_dev *dev, u64 rgid, u32 vid_valid, 58 int (*register_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb, 60 int (*unregister_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb); 61 int (*add_vlan_id)(struct smcd_dev *dev, u64 vlan_id); 62 int (*del_vlan_id)(struct smcd_dev *dev, u64 vlan_id); 63 int (*set_vlan_required)(struct smcd_dev *dev); 64 int (*reset_vlan_required)(struct smcd_dev *dev); 65 int (*signal_event)(struct smcd_dev *dev, u64 rgid, u32 trigger_irq, 67 int (*move_data)(struct smcd_dev *dev, u64 dmb_tok, unsigned int idx, [all …]
|
/linux-6.6.21/net/smc/ |
D | smc_ism.h | 31 struct smcd_dev; 33 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *dev); 36 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id); 37 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id); 40 int smc_ism_unregister_dmb(struct smcd_dev *dev, struct smc_buf_desc *dmb_desc); 43 u16 smc_ism_get_chid(struct smcd_dev *dev); 49 static inline int smc_ism_write(struct smcd_dev *smcd, u64 dmb_tok, in smc_ism_write()
|
D | smc_ism.c | 47 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk() 61 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid() 99 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan() 143 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan() 177 int smc_ism_unregister_dmb(struct smcd_dev *smcd, struct smc_buf_desc *dmb_desc) in smc_ism_unregister_dmb() 226 static int smc_nl_handle_smcd_dev(struct smcd_dev *smcd, in smc_nl_handle_smcd_dev() 296 struct smcd_dev *smcd; in smc_nl_prep_smcd_dev() 322 struct smcd_dev *smcd; 382 static struct smcd_dev *smcd_alloc_dev(struct device *parent, const char *name, in smcd_alloc_dev() 385 struct smcd_dev *smcd; in smcd_alloc_dev() [all …]
|
D | smc_pnet.c | 106 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 …]
|
D | smc_pnet.h | 22 struct smcd_dev; 64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
|
D | smc_core.h | 240 struct smcd_dev; 360 struct smcd_dev *smcd; 420 struct smcd_dev *ism_dev[SMC_MAX_ISM_DEVS + 1]; 547 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, 549 void smc_smcd_terminate_all(struct smcd_dev *dev);
|
D | smc_core.c | 508 struct smcd_dev *smcd = lgr->smcd; in smc_nl_fill_smcd_lgr() 562 static int smc_nl_handle_smcd_lgr(struct smcd_dev *dev, in smc_nl_handle_smcd_lgr() 594 struct smcd_dev *smcd_dev; in smc_nl_fill_smcd_dev() local 599 list_for_each_entry(smcd_dev, &dev_list->list, list) { in smc_nl_fill_smcd_dev() 600 if (list_empty(&smcd_dev->lgr_list)) in smc_nl_fill_smcd_dev() 604 rc = smc_nl_handle_smcd_lgr(smcd_dev, skb, cb); in smc_nl_fill_smcd_dev() 830 struct smcd_dev *smcd; in smc_lgr_create() 1517 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, unsigned short vlan) in smc_smcd_terminate() 1543 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all() 1863 struct smcd_dev *smcismdev, u64 peer_gid) in smcd_lgr_match() [all …]
|
D | smc_clc.h | 412 struct smcd_dev;
|
D | smc_diag.c | 169 struct smcd_dev *smcd = conn->lgr->smcd; in __smc_diag_dump()
|
D | smc_clc.c | 840 struct smcd_dev *smcd; in smc_clc_send_proposal() 1017 struct smcd_dev *smcd = conn->lgr->smcd; in smc_clc_send_confirm_accept()
|
D | af_smc.c | 1050 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt() 2094 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected() 2112 struct smcd_dev *smcd; in smc_check_ism_v2_match()
|
/linux-6.6.21/drivers/s390/net/ |
D | ism_drv.c | 746 static int smcd_query_rgid(struct smcd_dev *smcd, u64 rgid, u32 vid_valid, in smcd_query_rgid() 752 static int smcd_register_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb, in smcd_register_dmb() 758 static int smcd_unregister_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in smcd_unregister_dmb() 763 static int smcd_add_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_add_vlan_id() 768 static int smcd_del_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_del_vlan_id() 773 static int smcd_set_vlan_required(struct smcd_dev *smcd) in smcd_set_vlan_required() 778 static int smcd_reset_vlan_required(struct smcd_dev *smcd) in smcd_reset_vlan_required() 800 static int smcd_signal_ieq(struct smcd_dev *smcd, u64 rgid, u32 trigger_irq, in smcd_signal_ieq() 806 static int smcd_move(struct smcd_dev *smcd, u64 dmb_tok, unsigned int idx, in smcd_move() 824 static u64 smcd_get_local_gid(struct smcd_dev *smcd) in smcd_get_local_gid() [all …]
|