Home
last modified time | relevance | path

Searched refs:pkt_length (Results 1 – 4 of 4) sorted by relevance

/titanic_50/usr/src/uts/common/io/xge/drv/
H A Dxgell.c609 xgell_rx_hcksum_assoc(mblk_t *mp, char *vaddr, int pkt_length, in xgell_rx_hcksum_assoc() argument
632 int start, end = pkt_length - ip_off; in xgell_rx_hcksum_assoc()
658 int pkt_length, xge_hal_dtr_info_t *ext_info, boolean_t *copyit) in xgell_rx_1b_msg_alloc() argument
669 if (*copyit || pkt_length <= lldev->config.rx_dma_lowat) { in xgell_rx_1b_msg_alloc()
670 if ((mp = allocb(pkt_length + HEADROOM, 0)) == NULL) { in xgell_rx_1b_msg_alloc()
674 bcopy(vaddr, mp->b_rptr, pkt_length); in xgell_rx_1b_msg_alloc()
675 mp->b_wptr = mp->b_rptr + pkt_length; in xgell_rx_1b_msg_alloc()
683 if ((mp = (mblk_t *)desballoc((unsigned char *)vaddr, pkt_length, 0, in xgell_rx_1b_msg_alloc()
691 mp->b_wptr += pkt_length; in xgell_rx_1b_msg_alloc()
717 int pkt_length; in xgell_rx_1b_callback() local
[all …]
/titanic_50/usr/src/uts/common/io/xge/hal/xgehal/
H A Dxgehal-ring-fp.c298 dma_addr_t *dma_pointer, int *pkt_length) in xge_hal_ring_dtr_1b_get() argument
302 *pkt_length = XGE_HAL_RXD_1_GET_BUFFER0_SIZE(rxdp->control_2); in xge_hal_ring_dtr_1b_get()
305 ((xge_hal_channel_t *)channelh)->poll_bytes += *pkt_length; in xge_hal_ring_dtr_1b_get()
/titanic_50/usr/src/uts/common/io/ntxn/
H A Dunm_nic_main.c1235 u32 pkt_length = desc->u1.s1.totalLength; in unm_process_rcv() local
1258 pkt_length + poff + (adapter->ahw.cut_through ? 0 : in unm_process_rcv()
1265 docopy = (pkt_length <= adapter->rx_bcopy_threshold) ? 1 : 0; in unm_process_rcv()
1278 if ((mp = allocb(pkt_length + IP_ALIGNMENT_BYTES, 0)) == NULL) { in unm_process_rcv()
1285 bcopy(vaddr, mp->b_rptr, pkt_length); in unm_process_rcv()
1303 mp->b_wptr = (uchar_t *)((unsigned long)mp->b_rptr + pkt_length); in unm_process_rcv()
1315 adapter->stats.rxbytes += pkt_length; in unm_process_rcv()
/titanic_50/usr/src/uts/common/io/xge/hal/include/
H A Dxgehal-ring.h412 dma_addr_t *dma_pointer, int *pkt_length);