Lines Matching refs:addllc
648 struct smc_llc_msg_add_link *addllc;
650 int len = sizeof(*addllc);
661 addllc = (struct smc_llc_msg_add_link *)wr_buf;
663 &wr_buf->raw[sizeof(*addllc)];
671 addllc = (struct smc_llc_msg_add_link *)wr_buf;
674 memset(addllc, 0, sizeof(*addllc));
675 addllc->hd.common.llc_type = SMC_LLC_ADD_LINK;
677 addllc->hd.flags |= SMC_LLC_FLAG_RESP;
678 memcpy(addllc->sender_mac, mac, ETH_ALEN);
679 memcpy(addllc->sender_gid, gid, SMC_GID_SIZE);
681 addllc->link_num = link_new->link_id;
682 hton24(addllc->sender_qp_num, link_new->roce_qp->qp_num);
683 hton24(addllc->initial_psn, link_new->psn_initial);
685 addllc->qp_mtu = link_new->path_mtu;
687 addllc->qp_mtu = min(link_new->path_mtu,
692 smc_llc_init_msg_hdr(&addllc->hd, link->lgr, len);