/openbmc/linux/include/net/ |
H A D | smc.h | 52 struct smcd_dev; 61 int (*query_remote_gid)(struct smcd_dev *dev, struct smcd_gid *rgid, 63 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 (*move_data)(struct smcd_dev *dev, u64 dmb_tok, unsigned int idx, 71 void (*get_local_gid)(struct smcd_dev *dev, struct smcd_gid *gid); 72 u16 (*get_chid)(struct smcd_dev *dev); 73 struct device* (*get_dev)(struct smcd_dev *dev); 76 int (*add_vlan_id)(struct smcd_dev *dev, u64 vlan_id); 77 int (*del_vlan_id)(struct smcd_dev *dev, u64 vlan_id); [all …]
|
/openbmc/linux/net/smc/ |
H A D | smc_ism.h | 33 struct smcd_dev; 36 struct smcd_dev *dev); 39 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id); 40 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id); 43 int smc_ism_unregister_dmb(struct smcd_dev *dev, struct smc_buf_desc *dmb_desc); 44 bool smc_ism_support_dmb_nocopy(struct smcd_dev *smcd); 45 int smc_ism_attach_dmb(struct smcd_dev *dev, u64 token, 47 int smc_ism_detach_dmb(struct smcd_dev *dev, u64 token); 50 u16 smc_ism_get_chid(struct smcd_dev *dev); 56 static inline int smc_ism_write(struct smcd_dev *smcd, u64 dmb_tok, in smc_ism_write() [all …]
|
H A D | smc_ism.c | 48 struct smcd_dev *smcd) in smc_ism_cantalk() 62 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid() 100 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan() 146 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan() 182 int smc_ism_unregister_dmb(struct smcd_dev *smcd, struct smc_buf_desc *dmb_desc) in smc_ism_unregister_dmb() 231 bool smc_ism_support_dmb_nocopy(struct smcd_dev *smcd) in smc_ism_support_dmb_nocopy() 241 int smc_ism_attach_dmb(struct smcd_dev *dev, u64 token, in smc_ism_attach_dmb() 263 int smc_ism_detach_dmb(struct smcd_dev *dev, u64 token) in smc_ism_detach_dmb() 271 static int smc_nl_handle_smcd_dev(struct smcd_dev *smcd, in smc_nl_handle_smcd_dev() 341 struct smcd_dev *smcd; in smc_nl_prep_smcd_dev() [all …]
|
H 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() 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 …]
|
H A D | smc_pnet.h | 22 struct smcd_dev; 64 int smc_pnetid_by_table_smcd(struct smcd_dev *smcd);
|
H A D | smc_core.h | 242 struct smcd_dev; 362 struct smcd_dev *smcd; 427 struct smcd_dev *ism_dev[SMC_MAX_V2_ISM_DEVS + 1]; 554 void smc_smcd_terminate(struct smcd_dev *dev, struct smcd_gid *peer_gid, 556 void smc_smcd_terminate_all(struct smcd_dev *dev);
|
H A D | smc_core.c | 508 struct smcd_dev *smcd = lgr->smcd; in smc_nl_fill_smcd_lgr() 563 static int smc_nl_handle_smcd_lgr(struct smcd_dev *dev, in smc_nl_handle_smcd_lgr() 595 struct smcd_dev *smcd_dev; in smc_nl_fill_smcd_dev() local 600 list_for_each_entry(smcd_dev, &dev_list->list, list) { in smc_nl_fill_smcd_dev() 601 if (list_empty(&smcd_dev->lgr_list)) in smc_nl_fill_smcd_dev() 605 rc = smc_nl_handle_smcd_lgr(smcd_dev, skb, cb); in smc_nl_fill_smcd_dev() 831 struct smcd_dev *smcd; in smc_lgr_create() 1148 struct smcd_dev *smcd = conn->lgr->smcd; in smcd_buf_detach() 1539 void smc_smcd_terminate(struct smcd_dev *dev, struct smcd_gid *peer_gid, in smc_smcd_terminate() 1569 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all() [all …]
|
H A D | smc_diag.c | 170 struct smcd_dev *smcd = conn->lgr->smcd; in __smc_diag_dump()
|
H A D | smc_clc.h | 426 struct smcd_dev;
|
H A D | smc_clc.c | 855 struct smcd_dev *smcd; in smc_clc_send_proposal() 1048 struct smcd_dev *smcd = conn->lgr->smcd; in smcd_clc_prep_confirm_accept()
|
H A D | af_smc.c | 1037 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt() 2091 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected() 2110 struct smcd_dev *smcd; in smc_check_ism_v2_match()
|
/openbmc/linux/drivers/s390/net/ |
H A D | ism_drv.c | 775 static int smcd_query_rgid(struct smcd_dev *smcd, struct smcd_gid *rgid, in smcd_query_rgid() 781 static int smcd_register_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb, in smcd_register_dmb() 787 static int smcd_unregister_dmb(struct smcd_dev *smcd, struct smcd_dmb *dmb) in smcd_unregister_dmb() 792 static int smcd_add_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_add_vlan_id() 797 static int smcd_del_vlan_id(struct smcd_dev *smcd, u64 vlan_id) in smcd_del_vlan_id() 802 static int smcd_set_vlan_required(struct smcd_dev *smcd) in smcd_set_vlan_required() 807 static int smcd_reset_vlan_required(struct smcd_dev *smcd) in smcd_reset_vlan_required() 829 static int smcd_signal_ieq(struct smcd_dev *smcd, struct smcd_gid *rgid, in smcd_signal_ieq() 836 static int smcd_move(struct smcd_dev *smcd, u64 dmb_tok, unsigned int idx, in smcd_move() 854 static void smcd_get_local_gid(struct smcd_dev *smcd, in smcd_get_local_gid() [all …]
|