Lines Matching refs:pklen
1363 uint32_t pklen; in vr_receive() local
1391 pklen = (rxstat0 >> 16) - ETHERFCSL; in vr_receive()
1397 pklen, DDI_DMA_SYNC_FORKERNEL); in vr_receive()
1402 np = allocb(pklen, 0); in vr_receive()
1404 bcopy(dmap->buf, np->b_rptr, pklen); in vr_receive()
1405 np->b_wptr = np->b_rptr + pklen; in vr_receive()
1408 vrp->stats.mac_stat_rbytes += pklen; in vr_receive()
1522 uint32_t pklen; in vr_tx_enqueue_msg() local
1536 pklen = msgsize(mp); in vr_tx_enqueue_msg()
1548 padlen = ETHERMIN - pklen; in vr_tx_enqueue_msg()
1550 bzero(dmap->buf + pklen, padlen); in vr_tx_enqueue_msg()
1551 pklen += padlen; in vr_tx_enqueue_msg()
1559 vrp->stats.mac_stat_obytes += pklen; in vr_tx_enqueue_msg()
1564 (void) ddi_dma_sync(dmap->handle, 0, pklen, DDI_DMA_SYNC_FORDEV); in vr_tx_enqueue_msg()
1593 pklen | (VR_TDES1_STP | VR_TDES1_EDP | VR_TDES1_CHN)); in vr_tx_enqueue_msg()