Lines Matching defs:add_llc
1020 struct smc_llc_msg_add_link *add_llc)
1022 link->peer_qpn = ntoh24(add_llc->sender_qp_num);
1023 memcpy(link->peer_gid, add_llc->sender_gid, SMC_GID_SIZE);
1024 memcpy(link->peer_mac, add_llc->sender_mac, ETH_ALEN);
1025 link->peer_psn = ntoh24(add_llc->initial_psn);
1026 link->peer_mtu = add_llc->qp_mtu;
1408 struct smc_llc_msg_add_link *add_llc;
1479 add_llc = &qentry->msg.add_link;
1480 if (add_llc->hd.flags & SMC_LLC_FLAG_ADD_LNK_REJ) {
1486 (!memcmp(add_llc->sender_gid, link->peer_gid, SMC_GID_SIZE) &&
1488 !memcmp(add_llc->sender_mac, link->peer_mac, ETH_ALEN)))) {
1491 smc_llc_save_add_link_info(link_new, add_llc);
1545 struct smc_llc_msg_add_link add_llc = {};
1547 add_llc.hd.common.llc_type = SMC_LLC_ADD_LINK;
1548 smc_llc_init_msg_hdr(&add_llc.hd, link->lgr, sizeof(add_llc));
1550 smc_llc_enqueue(link, (union smc_llc_msg *)&add_llc);