Lines Matching refs:addllc
490 struct smc_llc_msg_add_link *addllc;
500 addllc = (struct smc_llc_msg_add_link *)wr_buf;
502 memset(addllc, 0, sizeof(*addllc));
503 addllc->hd.common.type = SMC_LLC_ADD_LINK;
504 addllc->hd.length = sizeof(struct smc_llc_msg_add_link);
506 addllc->hd.flags |= SMC_LLC_FLAG_RESP;
507 memcpy(addllc->sender_mac, mac, ETH_ALEN);
508 memcpy(addllc->sender_gid, gid, SMC_GID_SIZE);
510 addllc->link_num = link_new->link_id;
511 hton24(addllc->sender_qp_num, link_new->roce_qp->qp_num);
512 hton24(addllc->initial_psn, link_new->psn_initial);
514 addllc->qp_mtu = link_new->path_mtu;
516 addllc->qp_mtu = min(link_new->path_mtu,