Home
last modified time | relevance | path

Searched refs:SMC_GID_SIZE (Results 1 – 8 of 8) sorted by relevance

/linux/net/smc/
H A Dsmc_core.h145 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 Dsmc_ib.h23 #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 Dsmc_llc.c50 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 Dsmc_ib.c235 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 Dsmc_clc.h278 u8 gid[][SMC_GID_SIZE];
H A Daf_smc.c734 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 Dsmc_clc.c893 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 Dsmc_core.c1931 !memcmp(lnk->peer_gid, peer_gid, SMC_GID_SIZE) && in smcr_lgr_match()