confllc 190 net/smc/smc_llc.c struct smc_llc_msg_confirm_link *confllc; confllc 198 net/smc/smc_llc.c confllc = (struct smc_llc_msg_confirm_link *)wr_buf; confllc 199 net/smc/smc_llc.c memset(confllc, 0, sizeof(*confllc)); confllc 200 net/smc/smc_llc.c confllc->hd.common.type = SMC_LLC_CONFIRM_LINK; confllc 201 net/smc/smc_llc.c confllc->hd.length = sizeof(struct smc_llc_msg_confirm_link); confllc 202 net/smc/smc_llc.c confllc->hd.flags |= SMC_LLC_FLAG_NO_RMBE_EYEC; confllc 204 net/smc/smc_llc.c confllc->hd.flags |= SMC_LLC_FLAG_RESP; confllc 205 net/smc/smc_llc.c memcpy(confllc->sender_mac, link->smcibdev->mac[link->ibport - 1], confllc 207 net/smc/smc_llc.c memcpy(confllc->sender_gid, link->gid, SMC_GID_SIZE); confllc 208 net/smc/smc_llc.c hton24(confllc->sender_qp_num, link->roce_qp->qp_num); confllc 209 net/smc/smc_llc.c confllc->link_num = link->link_id; confllc 210 net/smc/smc_llc.c memcpy(confllc->link_uid, lgr->id, SMC_LGR_ID_SIZE); confllc 211 net/smc/smc_llc.c confllc->max_links = SMC_LLC_ADD_LNK_MAX_LINKS; /* enforce peer resp. */