Lines Matching refs:tx_desc
87 struct iser_tx_desc *tx_desc = &pdu->desc;
92 dma_addr = ib_dma_map_single(device->ib_device, (void *)tx_desc,
99 tx_desc->mapped = true;
100 tx_desc->dma_addr = dma_addr;
101 tx_desc->tx_sg[0].addr = tx_desc->dma_addr;
102 tx_desc->tx_sg[0].length = ISER_HEADERS_LEN;
103 tx_desc->tx_sg[0].lkey = device->mr->lkey;
460 struct iser_tx_desc *tx_desc = &iser_pdu->desc;
476 if (likely(tx_desc->mapped)) {
477 ib_dma_unmap_single(device->ib_device, tx_desc->dma_addr,
479 tx_desc->mapped = false;