Lines Matching refs:confllc
451 struct smc_llc_msg_confirm_link *confllc; in smc_llc_send_confirm_link() local
461 confllc = (struct smc_llc_msg_confirm_link *)wr_buf; in smc_llc_send_confirm_link()
462 memset(confllc, 0, sizeof(*confllc)); in smc_llc_send_confirm_link()
463 confllc->hd.common.llc_type = SMC_LLC_CONFIRM_LINK; in smc_llc_send_confirm_link()
464 smc_llc_init_msg_hdr(&confllc->hd, link->lgr, sizeof(*confllc)); in smc_llc_send_confirm_link()
465 confllc->hd.flags |= SMC_LLC_FLAG_NO_RMBE_EYEC; in smc_llc_send_confirm_link()
467 confllc->hd.flags |= SMC_LLC_FLAG_RESP; in smc_llc_send_confirm_link()
468 memcpy(confllc->sender_mac, link->smcibdev->mac[link->ibport - 1], in smc_llc_send_confirm_link()
470 memcpy(confllc->sender_gid, link->gid, SMC_GID_SIZE); in smc_llc_send_confirm_link()
471 hton24(confllc->sender_qp_num, link->roce_qp->qp_num); in smc_llc_send_confirm_link()
472 confllc->link_num = link->link_id; in smc_llc_send_confirm_link()
473 memcpy(confllc->link_uid, link->link_uid, SMC_LGR_ID_SIZE); in smc_llc_send_confirm_link()
474 confllc->max_links = SMC_LLC_ADD_LNK_MAX_LINKS; in smc_llc_send_confirm_link()