Lines Matching refs:sdma_hdr
125 le64_to_cpu(tx->sdma_hdr->pbc), tx->txq->q_idx, in hfi1_ipoib_free_tx()
235 struct hfi1_sdma_header *sdma_hdr = tx->sdma_hdr; in hfi1_ipoib_build_tx_desc() local
237 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2) + tx->skb->len; in hfi1_ipoib_build_tx_desc()
247 sdma_hdr, in hfi1_ipoib_build_tx_desc()
248 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2)); in hfi1_ipoib_build_tx_desc()
260 struct hfi1_sdma_header *sdma_hdr = tx->sdma_hdr; in hfi1_ipoib_build_ib_tx_headers() local
286 grh = &sdma_hdr->hdr.ibh.u.l.grh; in hfi1_ipoib_build_ib_tx_headers()
294 ohdr = &sdma_hdr->hdr.ibh.u.l.oth; in hfi1_ipoib_build_ib_tx_headers()
297 ohdr = &sdma_hdr->hdr.ibh.u.oth; in hfi1_ipoib_build_ib_tx_headers()
322 sdma_hdr->hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_ipoib_build_ib_tx_headers()
323 hfi1_make_ib_hdr(&sdma_hdr->hdr.ibh, lrh0, dwords, dlid, slid); in hfi1_ipoib_build_ib_tx_headers()
338 sdma_hdr->pbc = in hfi1_ipoib_build_ib_tx_headers()
345 (sizeof(sdma_hdr->pbc) >> 2))); in hfi1_ipoib_build_ib_tx_headers()
487 &tx->sdma_hdr->hdr, in hfi1_ipoib_send_dma_single()
551 &tx->sdma_hdr->hdr, in hfi1_ipoib_send_dma_list()
742 hfi1_txreq_from_idx(tx_ring, j)->sdma_hdr = in hfi1_ipoib_txreq_init()
743 kzalloc_node(sizeof(*tx->sdma_hdr), in hfi1_ipoib_txreq_init()
745 if (!hfi1_txreq_from_idx(tx_ring, j)->sdma_hdr) in hfi1_ipoib_txreq_init()
761 kfree(hfi1_txreq_from_idx(tx_ring, j)->sdma_hdr); in hfi1_ipoib_txreq_init()
808 kfree(hfi1_txreq_from_idx(tx_ring, j)->sdma_hdr); in hfi1_ipoib_txreq_deinit()