/kernel/linux/linux-5.10/include/net/ |
H A 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 *de 72 struct smcd_dev { global() struct [all...] |
/kernel/linux/linux-6.6/include/net/ |
H A 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 *de 77 struct smcd_dev { global() struct [all...] |
/kernel/linux/linux-5.10/net/smc/ |
H A D | smc_ism.h | 40 struct smcd_dev; 42 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *dev); 45 int smc_ism_get_vlan(struct smcd_dev *dev, unsigned short vlan_id); 46 int smc_ism_put_vlan(struct smcd_dev *dev, unsigned short vlan_id); 49 int smc_ism_unregister_dmb(struct smcd_dev *dev, struct smc_buf_desc *dmb_desc); 50 int smc_ism_write(struct smcd_dev *dev, const struct smc_ism_position *pos, 53 void smc_ism_get_system_eid(struct smcd_dev *dev, u8 **eid); 54 u16 smc_ism_get_chid(struct smcd_dev *dev);
|
H A D | smc_ism.c | 27 int smc_ism_cantalk(u64 peer_gid, unsigned short vlan_id, struct smcd_dev *smcd) in smc_ism_cantalk() 33 int smc_ism_write(struct smcd_dev *smcd, const struct smc_ism_position *pos, in smc_ism_write() 44 void smc_ism_get_system_eid(struct smcd_dev *smcd, u8 **eid) in smc_ism_get_system_eid() 49 u16 smc_ism_get_chid(struct smcd_dev *smcd) in smc_ism_get_chid() 81 int smc_ism_get_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_get_vlan() 125 int smc_ism_put_vlan(struct smcd_dev *smcd, unsigned short vlanid) in smc_ism_put_vlan() 159 int smc_ism_unregister_dmb(struct smcd_dev *smcd, struct smc_buf_desc *dmb_desc) in smc_ism_unregister_dmb() 206 struct smcd_dev *smcd; 286 struct smcd_dev *smcd = container_of(dev, struct smcd_dev, de in smcd_release() [all...] |
H A D | smc_pnet.c | 105 struct smcd_dev *smcd_dev; in smc_pnet_remove_by_pnetid() local 163 list_for_each_entry(smcd_dev, &smcd_dev_list.list, list) { in smc_pnet_remove_by_pnetid() 164 if (smcd_dev->pnetid_by_user && in smc_pnet_remove_by_pnetid() 166 smc_pnet_match(pnet_name, smcd_dev->pnetid))) { in smc_pnet_remove_by_pnetid() 169 "%.16s\n", dev_name(&smcd_dev->dev), in smc_pnet_remove_by_pnetid() 170 smcd_dev->pnetid); in smc_pnet_remove_by_pnetid() 171 memset(smcd_dev->pnetid, 0, SMC_MAX_PNETID_LEN); in smc_pnet_remove_by_pnetid() 172 smcd_dev->pnetid_by_user = false; in smc_pnet_remove_by_pnetid() 263 static bool smc_pnet_apply_smcd(struct smcd_dev *smcd_de argument 328 struct smcd_dev *smcd_dev; smc_pnet_find_smcd() local 410 struct smcd_dev *smcd_dev; smc_pnet_add_ib() local [all...] |
H A D | smc_core.h | 191 struct smcd_dev; 289 struct smcd_dev *smcd; 314 struct smcd_dev *ism_dev[SMC_MAX_ISM_DEVS + 1]; 381 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, 383 void smc_smcd_terminate_all(struct smcd_dev *dev);
|
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_clc.h | 318 struct smcd_dev;
|
H A D | smc_core.c | 956 void smc_smcd_terminate(struct smcd_dev *dev, u64 peer_gid, unsigned short vlan) in smc_smcd_terminate() 982 void smc_smcd_terminate_all(struct smcd_dev *smcd) in smc_smcd_terminate_all() 1284 struct smcd_dev *smcismdev, u64 peer_gid) in smcd_lgr_match() 1725 smc_ism_set_conn(conn); /* map RMB/smcd_dev to conn */ in __smc_buf_create() 1920 struct smcd_dev *smcd; in smc_core_going_away() 1941 struct smcd_dev *smcd; in smc_lgrs_shutdown()
|
H A D | af_smc.c | 640 struct smcd_dev *smcd; in smc_find_ism_v2_device_clnt() 1473 static bool smc_is_already_selected(struct smcd_dev *smcd, in smc_is_already_selected() 1491 struct smcd_dev *smcd; in smc_check_ism_v2_match()
|
/kernel/linux/linux-6.6/net/smc/ |
H 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()
|
H A 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 *smc in smcd_alloc_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, 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 | 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);
|
H A 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 *smc [all...] |
H A D | smc_clc.h | 412 struct smcd_dev;
|
H A D | smc_diag.c | 169 struct smcd_dev *smcd = conn->lgr->smcd; in __smc_diag_dump()
|
H A 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()
|
H A 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()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A 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 *smc [all...] |
H A D | ism.h | 195 struct smcd_dev *smcd;
|
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A 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 *smc [all...] |