Searched refs:smcd_dev (Results 1 – 11 of 11) sorted by relevance
/Linux-v6.1/include/net/ |
D | smc.h | 59 struct smcd_dev; 62 int (*query_remote_gid)(struct smcd_dev *dev, u64 rgid, u32 vid_valid, 64 int (*register_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb); 65 int (*unregister_dmb)(struct smcd_dev *dev, struct smcd_dmb *dmb); 66 int (*add_vlan_id)(struct smcd_dev *dev, u64 vlan_id); 67 int (*del_vlan_id)(struct smcd_dev *dev, u64 vlan_id); 68 int (*set_vlan_required)(struct smcd_dev *dev); 69 int (*reset_vlan_required)(struct smcd_dev *dev); 70 int (*signal_event)(struct smcd_dev *dev, u64 rgid, u32 trigger_irq, 72 int (*move_data)(struct smcd_dev *dev, u64 dmb_tok, unsigned int idx, [all …]
|
/Linux-v6.1/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); 48 static inline int smc_ism_write(struct smcd_dev *smcd, u64 dmb_tok, in smc_ism_write()
|
D | smc_ism.c | 30 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk() 44 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid() 82 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan() 126 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan() 160 int smc_ism_unregister_dmb(struct smcd_dev *smcd, struct smc_buf_desc *dmb_desc) in smc_ism_unregister_dmb() 205 static int smc_nl_handle_smcd_dev(struct smcd_dev *smcd, in smc_nl_handle_smcd_dev() 273 struct smcd_dev *smcd; in smc_nl_prep_smcd_dev() 298 struct smcd_dev *smcd; 378 struct smcd_dev *smcd = container_of(dev, struct smcd_dev, dev); in smcd_release() 384 struct smcd_dev *smcd_alloc_dev(struct device *parent, const char *name, in smcd_alloc_dev() [all …]
|
D | smc_pnet.c | 106 struct smcd_dev *smcd_dev; in smc_pnet_remove_by_pnetid() local 165 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_remove_by_pnetid() 166 if (smcd_dev->pnetid_by_user && in smc_pnet_remove_by_pnetid() 168 smc_pnet_match(pnet_name, smcd_dev->pnetid))) { in smc_pnet_remove_by_pnetid() 171 "%.16s\n", dev_name(&smcd_dev->dev), in smc_pnet_remove_by_pnetid() 172 smcd_dev->pnetid); in smc_pnet_remove_by_pnetid() 173 memset(smcd_dev->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid() 174 smcd_dev->pnetid_by_user = false; in smc_pnet_remove_by_pnetid() 265 static bool smc_pnet_apply_smcd(struct smcd_dev *smcd_dev, char *pnet_name) in smc_pnet_apply_smcd() argument 270 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 | 216 struct smcd_dev; 332 struct smcd_dev *smcd; 389 struct smcd_dev *ism_dev[SMC_MAX_ISM_DEVS + 1]; 516 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, 518 void smc_smcd_terminate_all(struct smcd_dev *dev);
|
D | smc_core.c | 555 static int smc_nl_handle_smcd_lgr(struct smcd_dev *dev, in smc_nl_handle_smcd_lgr() 587 struct smcd_dev *smcd_dev; in smc_nl_fill_smcd_dev() local 592 list_for_each_entry(smcd_dev, &dev_list->list, list) { in smc_nl_fill_smcd_dev() 593 if (list_empty(&smcd_dev->lgr_list)) in smc_nl_fill_smcd_dev() 597 rc = smc_nl_handle_smcd_lgr(smcd_dev, skb, cb); in smc_nl_fill_smcd_dev() 1504 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, unsigned short vlan) in smc_smcd_terminate() 1530 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all() 1845 struct smcd_dev *smcismdev, u64 peer_gid) in smcd_lgr_match() 2560 struct smcd_dev *smcd; in smc_core_going_away() 2581 struct smcd_dev *smcd; in smc_lgrs_shutdown()
|
D | smc_clc.h | 373 struct smcd_dev;
|
D | af_smc.c | 1000 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt() 2015 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected() 2033 struct smcd_dev *smcd; in smc_check_ism_v2_match()
|
/Linux-v6.1/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() 417 static u16 ism_get_chid(struct smcd_dev *smcd) in ism_get_chid()
|
D | ism.h | 195 struct smcd_dev *smcd;
|