Lines Matching refs:pklen
1359 uint32_t pklen; in vr_receive() local
1387 pklen = (rxstat0 >> 16) - ETHERFCSL; in vr_receive()
1393 pklen, DDI_DMA_SYNC_FORKERNEL); in vr_receive()
1398 np = allocb(pklen, 0); in vr_receive()
1400 bcopy(dmap->buf, np->b_rptr, pklen); in vr_receive()
1401 np->b_wptr = np->b_rptr + pklen; in vr_receive()
1404 vrp->stats.mac_stat_rbytes += pklen; in vr_receive()
1518 uint32_t pklen; in vr_tx_enqueue_msg() local
1532 pklen = msgsize(mp); in vr_tx_enqueue_msg()
1544 padlen = ETHERMIN - pklen; in vr_tx_enqueue_msg()
1546 bzero(dmap->buf + pklen, padlen); in vr_tx_enqueue_msg()
1547 pklen += padlen; in vr_tx_enqueue_msg()
1555 vrp->stats.mac_stat_obytes += pklen; in vr_tx_enqueue_msg()
1560 (void) ddi_dma_sync(dmap->handle, 0, pklen, DDI_DMA_SYNC_FORDEV); in vr_tx_enqueue_msg()
1589 pklen | (VR_TDES1_STP | VR_TDES1_EDP | VR_TDES1_CHN)); in vr_tx_enqueue_msg()