Searched refs:addllc (Results 1 – 1 of 1) sorted by relevance
490 struct smc_llc_msg_add_link *addllc; in smc_llc_send_add_link() local500 addllc = (struct smc_llc_msg_add_link *)wr_buf; in smc_llc_send_add_link()502 memset(addllc, 0, sizeof(*addllc)); in smc_llc_send_add_link()503 addllc->hd.common.type = SMC_LLC_ADD_LINK; in smc_llc_send_add_link()504 addllc->hd.length = sizeof(struct smc_llc_msg_add_link); in smc_llc_send_add_link()506 addllc->hd.flags |= SMC_LLC_FLAG_RESP; in smc_llc_send_add_link()507 memcpy(addllc->sender_mac, mac, ETH_ALEN); in smc_llc_send_add_link()508 memcpy(addllc->sender_gid, gid, SMC_GID_SIZE); in smc_llc_send_add_link()510 addllc->link_num = link_new->link_id; in smc_llc_send_add_link()511 hton24(addllc->sender_qp_num, link_new->roce_qp->qp_num); in smc_llc_send_add_link()[all …]