Lines Matching refs:add_llc
1008 struct smc_llc_msg_add_link *add_llc) in smc_llc_save_add_link_info() argument
1010 link->peer_qpn = ntoh24(add_llc->sender_qp_num); in smc_llc_save_add_link_info()
1011 memcpy(link->peer_gid, add_llc->sender_gid, SMC_GID_SIZE); in smc_llc_save_add_link_info()
1012 memcpy(link->peer_mac, add_llc->sender_mac, ETH_ALEN); in smc_llc_save_add_link_info()
1013 link->peer_psn = ntoh24(add_llc->initial_psn); in smc_llc_save_add_link_info()
1014 link->peer_mtu = add_llc->qp_mtu; in smc_llc_save_add_link_info()
1388 struct smc_llc_msg_add_link *add_llc; in smc_llc_srv_add_link() local
1454 add_llc = &qentry->msg.add_link; in smc_llc_srv_add_link()
1455 if (add_llc->hd.flags & SMC_LLC_FLAG_ADD_LNK_REJ) { in smc_llc_srv_add_link()
1461 (!memcmp(add_llc->sender_gid, link->peer_gid, SMC_GID_SIZE) && in smc_llc_srv_add_link()
1463 !memcmp(add_llc->sender_mac, link->peer_mac, ETH_ALEN)))) { in smc_llc_srv_add_link()
1466 smc_llc_save_add_link_info(link_new, add_llc); in smc_llc_srv_add_link()
1520 struct smc_llc_msg_add_link add_llc = {}; in smc_llc_add_link_local() local
1522 add_llc.hd.common.llc_type = SMC_LLC_ADD_LINK; in smc_llc_add_link_local()
1523 smc_llc_init_msg_hdr(&add_llc.hd, link->lgr, sizeof(add_llc)); in smc_llc_add_link_local()
1525 smc_llc_enqueue(link, (union smc_llc_msg *)&add_llc); in smc_llc_add_link_local()