Home
last modified time | relevance | path

Searched refs:pTxPkt (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/io/bnxe/
H A Dbnxe_tx.c77 static inline void BnxeTxPktUnmap(um_txpacket_t * pTxPkt) in BnxeTxPktUnmap() argument
81 for (i = 0; i < pTxPkt->num_handles; i++) in BnxeTxPktUnmap()
83 ddi_dma_unbind_handle(pTxPkt->dmaHandles[i]); in BnxeTxPktUnmap()
86 pTxPkt->num_handles = 0; in BnxeTxPktUnmap()
90 static void BnxeTxPktsFree(um_txpacket_t * pTxPkt) in BnxeTxPktsFree() argument
94 if (pTxPkt->num_handles > 0) in BnxeTxPktsFree()
96 BnxeTxPktUnmap(pTxPkt); in BnxeTxPktsFree()
99 if (pTxPkt->pMblk != NULL) in BnxeTxPktsFree()
101 freemsg(pTxPkt->pMblk); in BnxeTxPktsFree()
106 ddi_dma_free_handle(&pTxPkt->dmaHandles[i]); in BnxeTxPktsFree()
[all …]
H A Dbnxe_mm.c919 um_txpacket_t * pTxPkt = (um_txpacket_t *)pLMPkt; in mm_copy_packet_buf() local
925 pMblk = pTxPkt->pMblk; in mm_copy_packet_buf()