Lines Matching full:tx_desc
853 * @tx_desc: iSER TX descriptor
857 int iser_post_send(struct ib_conn *ib_conn, struct iser_tx_desc *tx_desc) in iser_post_send() argument
859 struct ib_send_wr *wr = &tx_desc->send_wr; in iser_post_send()
864 tx_desc->dma_addr, ISER_HEADERS_LEN, in iser_post_send()
868 wr->wr_cqe = &tx_desc->cqe; in iser_post_send()
869 wr->sg_list = tx_desc->tx_sg; in iser_post_send()
870 wr->num_sge = tx_desc->num_sge; in iser_post_send()
874 if (tx_desc->inv_wr.next) in iser_post_send()
875 first_wr = &tx_desc->inv_wr; in iser_post_send()
876 else if (tx_desc->reg_wr.wr.next) in iser_post_send()
877 first_wr = &tx_desc->reg_wr.wr; in iser_post_send()