Searched refs:smcd_dev (Results 1 – 12 of 12) sorted by relevance
/linux-6.3-rc2/include/net/ |
A D | smc.h | 52 struct smcd_dev; 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); 71 u64 (*get_local_gid)(struct smcd_dev *dev); 72 u16 (*get_chid)(struct smcd_dev *dev); 73 struct device* (*get_dev)(struct smcd_dev *dev); [all …]
|
/linux-6.3-rc2/net/smc/ |
A 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()
|
A D | smc_ism.c | 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() 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; 385 struct smcd_dev *smcd; in smcd_alloc_dev() 413 struct smcd_dev *smcd; in smcd_register_dev() 454 struct smcd_dev *smcd = ism_get_priv(ism, &smc_ism_client); in smcd_unregister_dev() 479 struct smcd_dev *smcd = ism_get_priv(ism, &smc_ism_client); in smcd_handle_event() [all …]
|
A 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() 273 smcd_dev->pnetid_by_user = true; in smc_pnet_apply_smcd() 331 struct smcd_dev *smcd_dev; in smc_pnet_find_smcd() local 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() 342 return smcd_dev; in smc_pnet_find_smcd() 415 struct smcd_dev *smcd; in smc_pnet_add_ib() 1094 struct smcd_dev *ismdev; in smc_pnet_find_ism_by_pnetid() [all …]
|
A D | smc_pnet.h | 22 struct smcd_dev; 64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
|
A 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);
|
A D | smc_core.c | 503 struct smcd_dev *smcd = lgr->smcd; in smc_nl_fill_smcd_lgr() 557 static int smc_nl_handle_smcd_lgr(struct smcd_dev *dev, in smc_nl_handle_smcd_lgr() 589 struct smcd_dev *smcd_dev; in smc_nl_fill_smcd_dev() local 594 list_for_each_entry(smcd_dev, &dev_list->list, list) { in smc_nl_fill_smcd_dev() 595 if (list_empty(&smcd_dev->lgr_list)) in smc_nl_fill_smcd_dev() 599 rc = smc_nl_handle_smcd_lgr(smcd_dev, skb, cb); in smc_nl_fill_smcd_dev() 825 struct smcd_dev *smcd; in smc_lgr_create() 1534 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all() 1849 struct smcd_dev *smcismdev, u64 peer_gid) in smcd_lgr_match() 2564 struct smcd_dev *smcd; in smc_core_going_away() [all …]
|
A D | smc_clc.h | 373 struct smcd_dev;
|
A D | smc_diag.c | 170 struct smcd_dev *smcd = conn->lgr->smcd; in __smc_diag_dump()
|
A D | af_smc.c | 1013 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt() 2030 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected() 2048 struct smcd_dev *smcd; in smc_check_ism_v2_match()
|
A D | smc_clc.c | 816 struct smcd_dev *smcd; in smc_clc_send_proposal()
|
/linux-6.3-rc2/drivers/s390/net/ |
A D | ism_drv.c | 795 static int smcd_query_rgid(struct smcd_dev *smcd, u64 rgid, u32 vid_valid, in smcd_query_rgid() 801 static int smcd_register_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb, in smcd_register_dmb() 807 static int smcd_unregister_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in smcd_unregister_dmb() 812 static int smcd_add_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_add_vlan_id() 817 static int smcd_del_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_del_vlan_id() 822 static int smcd_set_vlan_required(struct smcd_dev *smcd) in smcd_set_vlan_required() 827 static int smcd_reset_vlan_required(struct smcd_dev *smcd) in smcd_reset_vlan_required() 838 static int smcd_move(struct smcd_dev *smcd, u64 dmb_tok, unsigned int idx, in smcd_move() 845 static u64 smcd_get_local_gid(struct smcd_dev *smcd) in smcd_get_local_gid() 850 static u16 smcd_get_chid(struct smcd_dev *smcd) in smcd_get_chid() [all …]
|
Completed in 31 milliseconds