Home
last modified time | relevance | path

Searched refs:pMblk (Results 1 – 9 of 9) sorted by relevance

/titanic_44/usr/src/uts/common/io/bnxe/
H A Dbnxe_tx.c99 if (pTxPkt->pMblk != NULL) in BnxeTxPktsFree()
101 freemsg(pTxPkt->pMblk); in BnxeTxPktsFree()
109 pTxPkt->pMblk = NULL; in BnxeTxPktsFree()
156 if (pTxPkt->pMblk != NULL) in BnxeTxPktsReclaim()
158 freemsg(pTxPkt->pMblk); in BnxeTxPktsReclaim()
159 pTxPkt->pMblk = NULL; in BnxeTxPktsReclaim()
305 mblk_t * pMblk) in BnxeTxPktMapFrag() argument
329 (caddr_t)pMblk->b_rptr, in BnxeTxPktMapFrag()
330 (pMblk->b_wptr - pMblk->b_rptr), in BnxeTxPktMapFrag()
350 (pMblk->b_cont ? BNXE_MAX_DMA_FRAGS_PER_PKT - 1 in BnxeTxPktMapFrag()
[all …]
H A Dbnxe_gld.c762 mblk_t * pMblk) in BnxeTxRingSend() argument
770 while (pMblk) in BnxeTxRingSend()
772 pNextMblk = pMblk->b_next; in BnxeTxRingSend()
773 pMblk->b_next = NULL; in BnxeTxRingSend()
775 rc = BnxeTxSendMblk(pUM, idx, pMblk, 0, 0); in BnxeTxRingSend()
779 pMblk = pNextMblk; in BnxeTxRingSend()
784 pMblk = pNextMblk; in BnxeTxRingSend()
788 pMblk->b_next = pNextMblk; in BnxeTxRingSend()
794 return pMblk; in BnxeTxRingSend()
844 mblk_t * pMblk) in BnxeMacTx() argument
[all …]
H A Dbnxe_rr.c42 mblk_t * pMblk) in BnxeRouteTxRing() argument
70 pHdr = pMblk->b_rptr; in BnxeRouteTxRing()
86 mblkLen = MBLKL(pMblk); in BnxeRouteTxRing()
91 pHdr = (pMblk->b_rptr + eHdrSize); in BnxeRouteTxRing()
95 pMblk->b_rptr : NULL; in BnxeRouteTxRing()
101 pTmpMblk = pMblk; in BnxeRouteTxRing()
161 ring = (pMblk->b_band % numRings); in BnxeRouteTxRing()
169 pHdr = pMblk->b_rptr; in BnxeRouteTxRing()
175 ring = (pMblk->b_band % numRings); in BnxeRouteTxRing()
H A Dbnxe_debug.c255 mblk_t * pMblk, in BnxeDumpPkt() argument
267 while (pMblk) in BnxeDumpPkt()
269 pMem = pMblk->b_rptr; in BnxeDumpPkt()
277 for (i = 0; i < MBLKL(pMblk); i++) in BnxeDumpPkt()
297 snprintf(c, sizeof(c), "%d", (int)MBLKL(pMblk)); in BnxeDumpPkt()
299 xx += MBLKL(pMblk); in BnxeDumpPkt()
303 pMblk = pMblk->b_cont; in BnxeDumpPkt()
H A Dbnxe_rx.c287 mblk_t * pMblk; in BnxeRxRingProcess() local
387 if ((pMblk = allocb(pktLen, BPRI_MED)) == NULL) in BnxeRxRingProcess()
396 pMblk->b_rptr, pktLen); in BnxeRxRingProcess()
397 pMblk->b_wptr = (pMblk->b_rptr + pktLen); in BnxeRxRingProcess()
438 if ((pMblk = desballoc((pRxPkt->rx_info.mem_virt + BNXE_DMA_RX_OFFSET), in BnxeRxRingProcess()
448 pMblk->b_wptr = (pMblk->b_rptr + pktLen); in BnxeRxRingProcess()
474 mac_hcksum_set(pMblk, 0, 0, 0, 0, ofldFlags); in BnxeRxRingProcess()
494 head = pMblk; in BnxeRxRingProcess()
498 tail->b_next = pMblk; in BnxeRxRingProcess()
501 tail = pMblk; in BnxeRxRingProcess()
[all …]
H A Dbnxe_binding.h119 mblk_t * pMblk);
122 mblk_t * pMblk);
170 mblk_t * pMblk,
H A Dbnxe_mm.c920 mblk_t * pMblk; in mm_copy_packet_buf() local
925 pMblk = pTxPkt->pMblk; in mm_copy_packet_buf()
928 while (size && pMblk) in mm_copy_packet_buf()
930 mblkDataLen = (pMblk->b_wptr - pMblk->b_rptr); in mm_copy_packet_buf()
933 bcopy(pMblk->b_rptr, pMemBuf, toCopy); in mm_copy_packet_buf()
939 pMblk = pMblk->b_cont; in mm_copy_packet_buf()
H A Dbnxe_fcoe.c1283 mblk_t * pMblk, in BnxeFcoePrvTx() argument
1297 return pMblk; in BnxeFcoePrvTx()
1304 while (pMblk) in BnxeFcoePrvTx()
1308 pNextMblk = pMblk->b_next; in BnxeFcoePrvTx()
1309 pMblk->b_next = NULL; in BnxeFcoePrvTx()
1311 rc = BnxeTxSendMblk(pUM, FCOE_CID(pLM), pMblk, flags, vlan_tag); in BnxeFcoePrvTx()
1315 pMblk = pNextMblk; in BnxeFcoePrvTx()
1320 pMblk = pNextMblk; in BnxeFcoePrvTx()
1324 pMblk->b_next = pNextMblk; in BnxeFcoePrvTx()
1330 return pMblk; in BnxeFcoePrvTx()
H A Dbnxe.h345 mblk_t * pMblk; member
798 mblk_t * pMblk);
824 mblk_t * pMblk,
891 mblk_t * pMblk,
1036 mblk_t * pMblk,