Lines Matching defs:tx_desc
187 * @tx_desc: iser tx descriptor
196 struct iser_tx_desc *tx_desc)
206 dma_addr = ib_dma_map_single(device->ib_device, (void *)tx_desc,
211 tx_desc->inv_wr.next = NULL;
212 tx_desc->reg_wr.wr.next = NULL;
213 tx_desc->mapped = true;
214 tx_desc->dma_addr = dma_addr;
215 tx_desc->tx_sg[0].addr = tx_desc->dma_addr;
216 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN;
217 tx_desc->tx_sg[0].lkey = device->pd->local_dma_lkey;
367 struct iser_tx_desc *tx_desc = &iser_task->desc;
375 if (likely(tx_desc->mapped)) {
376 ib_dma_unmap_single(device->ib_device, tx_desc->dma_addr,
378 tx_desc->mapped = false;