Lines Matching refs:sdma_hdr
125 le64_to_cpu(tx->sdma_hdr->pbc), tx->txq->q_idx, in hfi1_ipoib_free_tx()
234 struct hfi1_sdma_header *sdma_hdr = tx->sdma_hdr; in hfi1_ipoib_build_tx_desc() local
236 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2) + tx->skb->len; in hfi1_ipoib_build_tx_desc()
246 sdma_hdr, in hfi1_ipoib_build_tx_desc()
247 sizeof(sdma_hdr->pbc) + (txp->hdr_dwords << 2)); in hfi1_ipoib_build_tx_desc()
259 struct hfi1_sdma_header *sdma_hdr = tx->sdma_hdr; in hfi1_ipoib_build_ib_tx_headers() local
285 grh = &sdma_hdr->hdr.ibh.u.l.grh; in hfi1_ipoib_build_ib_tx_headers()
293 ohdr = &sdma_hdr->hdr.ibh.u.l.oth; in hfi1_ipoib_build_ib_tx_headers()
296 ohdr = &sdma_hdr->hdr.ibh.u.oth; in hfi1_ipoib_build_ib_tx_headers()
321 sdma_hdr->hdr.hdr_type = HFI1_PKT_TYPE_9B; in hfi1_ipoib_build_ib_tx_headers()
322 hfi1_make_ib_hdr(&sdma_hdr->hdr.ibh, lrh0, dwords, dlid, slid); in hfi1_ipoib_build_ib_tx_headers()
337 sdma_hdr->pbc = in hfi1_ipoib_build_ib_tx_headers()
344 (sizeof(sdma_hdr->pbc) >> 2))); in hfi1_ipoib_build_ib_tx_headers()
486 &tx->sdma_hdr->hdr, in hfi1_ipoib_send_dma_single()
550 &tx->sdma_hdr->hdr, in hfi1_ipoib_send_dma_list()
741 hfi1_txreq_from_idx(tx_ring, j)->sdma_hdr = in hfi1_ipoib_txreq_init()
742 kzalloc_node(sizeof(*tx->sdma_hdr), in hfi1_ipoib_txreq_init()
757 kfree(hfi1_txreq_from_idx(tx_ring, j)->sdma_hdr); in hfi1_ipoib_txreq_init()
804 kfree(hfi1_txreq_from_idx(tx_ring, j)->sdma_hdr); in hfi1_ipoib_txreq_deinit()