Searched refs:SMC_GID_SIZE (Results 1 – 8 of 8) sorted by relevance
/linux/net/smc/ |
H A D | smc_core.h | 145 u8 gid[SMC_GID_SIZE];/* gid matching used vlan id*/ 153 u8 peer_gid[SMC_GID_SIZE]; /* gid of peer*/ 378 u8 list[GID_LIST_SIZE][SMC_GID_SIZE]; 390 u8 ib_gid_v2[SMC_GID_SIZE]; 420 u8 peer_gid[SMC_GID_SIZE]; 424 u8 ib_gid[SMC_GID_SIZE];
|
H A D | smc_ib.h | 23 #define SMC_GID_SIZE sizeof(union ib_gid) macro 62 static inline __be32 smc_ib_gid_to_ipv4(u8 gid[SMC_GID_SIZE]) in smc_ib_gid_to_ipv4() argument
|
H A D | smc_llc.c | 50 u8 sender_gid[SMC_GID_SIZE]; 66 u8 sender_gid[SMC_GID_SIZE]; 95 u8 client_target_gid[SMC_GID_SIZE]; 109 u8 gid[][SMC_GID_SIZE]; 469 memcpy(confllc->sender_gid, link->gid, SMC_GID_SIZE); in smc_llc_send_confirm_link() 614 memcpy(ext->client_target_gid, link_new->gid, SMC_GID_SIZE); in smc_llc_fill_ext_v2() 679 memcpy(addllc->sender_gid, gid, SMC_GID_SIZE); in smc_llc_send_add_link() 1023 memcpy(link->peer_gid, add_llc->sender_gid, SMC_GID_SIZE); in smc_llc_save_add_link_info() 1060 if (!memcmp(llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_cli_add_link() 1255 SMC_GID_SIZE)) { in smc_llc_find_asym_link() [all …]
|
H A D | smc_ib.c | 235 memcpy(gid, &attr->gid, SMC_GID_SIZE); in smc_ib_determine_gid_rcu() 264 memcpy(gid, &attr->gid, SMC_GID_SIZE); in smc_ib_determine_gid_rcu() 307 static bool smc_ib_check_link_gid(u8 gid[SMC_GID_SIZE], bool smcrv2, in smc_ib_check_link_gid() argument 324 if (!memcmp(gid, &attr->gid, SMC_GID_SIZE)) in smc_ib_check_link_gid()
|
H A D | smc_clc.h | 278 u8 gid[][SMC_GID_SIZE];
|
H A D | af_smc.c | 734 memcpy(link->peer_gid, ini->peer_gid, SMC_GID_SIZE); in smc_link_save_peer_info() 1176 memcpy(gidlist->list[gidlist->len++], known_gid, SMC_GID_SIZE); in smc_fill_gid_list() 1191 SMC_GID_SIZE); in smc_fill_gid_list() 1245 memcpy(ini->peer_gid, aclc->r0.lcl.gid, SMC_GID_SIZE); in smc_connect_rdma() 1273 SMC_GID_SIZE) && in smc_connect_rdma() 2280 memcpy(ini->peer_gid, smc_v2_ext->roce, SMC_GID_SIZE); in smc_find_rdma_v2_device_serv() 2324 memcpy(ini->peer_gid, pclc->lcl.gid, SMC_GID_SIZE); in smc_find_rdma_v1_device_serv()
|
H A D | smc_clc.c | 893 memcpy(pclc_base->lcl.gid, ini->ib_gid, SMC_GID_SIZE); in smc_clc_send_proposal() 975 memcpy(v2_ext->roce, ini->smcrv2.ib_gid_v2, SMC_GID_SIZE); in smc_clc_send_proposal() 1092 memcpy(&clc->r0.lcl.gid, link->gid, SMC_GID_SIZE); in smcr_clc_prep_confirm_accept()
|
H A D | smc_core.c | 1931 !memcmp(lnk->peer_gid, peer_gid, SMC_GID_SIZE) && in smcr_lgr_match()
|