Home
last modified time | relevance | path

Searched refs:rx_buf (Results 1 – 23 of 23) sorted by relevance

/illumos-gate/usr/src/uts/common/io/ixgbe/
H A Dixgbe_rx.c84 recycle_rcb->rx_buf.address, in ixgbe_rx_recycle()
85 recycle_rcb->rx_buf.size, in ixgbe_rx_recycle()
121 ixgbe_free_dma_buffer(&recycle_rcb->rx_buf); in ixgbe_rx_recycle()
213 current_rcb->rx_buf.address, in ixgbe_rx_bind()
214 current_rcb->rx_buf.size, in ixgbe_rx_bind()
319 current_rcb->rx_buf.address, in ixgbe_lro_bind()
320 current_rcb->rx_buf.size, in ixgbe_lro_bind()
442 bcopy(current_rcb->rx_buf.address, mp->b_wptr, in ixgbe_lro_copy()
446 bcopy(current_rcb->rx_buf.address, mp->b_wptr, in ixgbe_lro_copy()
703 current_rcb->rx_buf.dma_address; in ixgbe_ring_rx()
[all …]
H A Dixgbe_buf.c829 dma_buffer_t *rx_buf; in ixgbe_alloc_rcb_lists() local
850 rx_buf = &rcb->rx_buf; in ixgbe_alloc_rcb_lists()
852 rx_buf, ixgbe->rx_buf_size); in ixgbe_alloc_rcb_lists()
859 rx_buf->size -= IPHDR_ALIGN_ROOM; in ixgbe_alloc_rcb_lists()
860 rx_buf->address += IPHDR_ALIGN_ROOM; in ixgbe_alloc_rcb_lists()
861 rx_buf->dma_address += IPHDR_ALIGN_ROOM; in ixgbe_alloc_rcb_lists()
871 rx_buf->address, in ixgbe_alloc_rcb_lists()
872 rx_buf->size, in ixgbe_alloc_rcb_lists()
912 ixgbe_free_dma_buffer(&rcb->rx_buf); in ixgbe_free_rcb_lists()
H A Dixgbe_sw.h462 dma_buffer_t rx_buf; member
H A Dixgbe_main.c2427 rbd->read.pkt_addr = rcb->rx_buf.dma_address; in ixgbe_setup_rx_ring()
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c417 if (srbdp->rx_buf) { in rge_fini_recv_ring()
520 dma_buf_t *rx_buf; in rge_init_recv_ring() local
539 srbdp->rx_buf = rx_buf = in rge_init_recv_ring()
545 pbuf = &rx_buf->pbuf; in rge_init_recv_ring()
560 rx_buf->rx_recycle.free_arg = (caddr_t)rx_buf; in rge_init_recv_ring()
562 rx_buf->mp = desballoc(DMA_VPTR(rx_buf->pbuf), in rge_init_recv_ring()
582 dma_buf_t *rx_buf; in rge_init_buf_ring() local
605 free_srbdp->rx_buf = rx_buf = in rge_init_buf_ring()
611 pbuf = &rx_buf->pbuf; in rge_init_buf_ring()
624 rx_buf->rx_recycle.free_arg = (caddr_t)rx_buf; in rge_init_buf_ring()
[all …]
H A Drge_rxtx.c84 dma_buf_t *rx_buf; in rge_rx_recycle() local
88 rx_buf = (dma_buf_t *)arg; in rge_rx_recycle()
89 rgep = (rge_t *)rx_buf->private; in rge_rx_recycle()
105 rx_buf->mp = desballoc(DMA_VPTR(rx_buf->pbuf), in rge_rx_recycle()
107 if (rx_buf->mp == NULL) { in rge_rx_recycle()
115 ASSERT(free_srbdp->rx_buf == NULL); in rge_rx_recycle()
116 free_srbdp->rx_buf = rx_buf; in rge_rx_recycle()
142 srbdp->rx_buf = free_buf; in rge_rx_refill()
143 rgep->free_srbds[free_slot].rx_buf = NULL; in rge_rx_refill()
244 rx_ptr = DMA_VPTR(srbdp->rx_buf->pbuf); in rge_receive_packet()
[all …]
H A Drge_log.c219 srbdp->rx_buf->pbuf.cookie.dmac_laddress, in rge_pkt_dump()
220 srbdp->rx_buf->pbuf.alength, in rge_pkt_dump()
221 srbdp->rx_buf->pbuf.token); in rge_pkt_dump()
223 minidump(rgep, "packet data", srbdp->rx_buf->pbuf.mem_va, in rge_pkt_dump()
H A Drge.h305 dma_buf_t *rx_buf; member
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_rx.c76 recycle_rcb->rx_buf.address, in igb_rx_recycle()
77 recycle_rcb->rx_buf.size, in igb_rx_recycle()
113 igb_free_dma_buffer(&recycle_rcb->rx_buf); in igb_rx_recycle()
146 DMA_SYNC(&current_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in igb_rx_copy()
149 current_rcb->rx_buf.dma_handle) != DDI_FM_OK) { in igb_rx_copy()
169 bcopy(current_rcb->rx_buf.address, mp->b_rptr, pkt_len); in igb_rx_copy()
205 current_rcb->rx_buf.address, in igb_rx_bind()
206 current_rcb->rx_buf.size, in igb_rx_bind()
221 DMA_SYNC(&current_rcb->rx_buf, DDI_DMA_SYNC_FORKERNEL); in igb_rx_bind()
224 current_rcb->rx_buf.dma_handle) != DDI_FM_OK) { in igb_rx_bind()
[all …]
H A Digb_buf.c835 dma_buffer_t *rx_buf; in igb_alloc_rcb_lists() local
856 rx_buf = &rcb->rx_buf; in igb_alloc_rcb_lists()
858 rx_buf, igb->rx_buf_size); in igb_alloc_rcb_lists()
866 rx_buf->size -= IPHDR_ALIGN_ROOM; in igb_alloc_rcb_lists()
867 rx_buf->address += IPHDR_ALIGN_ROOM; in igb_alloc_rcb_lists()
868 rx_buf->dma_address += IPHDR_ALIGN_ROOM; in igb_alloc_rcb_lists()
876 rx_buf->address, in igb_alloc_rcb_lists()
877 rx_buf->size, in igb_alloc_rcb_lists()
917 igb_free_dma_buffer(&rcb->rx_buf); in igb_free_rcb_lists()
H A Digb_sw.h406 dma_buffer_t rx_buf; member
H A Digb_main.c2160 rbd->read.pkt_addr = rcb->rx_buf.dma_address; in igb_setup_rx_ring()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c86 address, packet->rx_buf->size, in e1000g_rxfree_func()
192 packet->rx_buf->dma_address; in e1000g_rx_setup()
220 packet->rx_buf->dma_address; in e1000g_rx_setup()
451 dma_buffer_t *rx_buf; in e1000g_receive() local
524 rx_buf = packet->rx_buf; in e1000g_receive()
530 dvma_sync(rx_buf->dma_handle, 0, in e1000g_receive()
533 (void) ddi_dma_sync(rx_buf->dma_handle, in e1000g_receive()
537 (void) ddi_dma_sync(rx_buf->dma_handle, in e1000g_receive()
543 rx_buf->dma_handle) != DDI_FM_OK) { in e1000g_receive()
638 rx_buf->address, length, in e1000g_receive()
[all …]
H A De1000g_alloc.c1328 dma_buffer_t *rx_buf; in e1000g_alloc_rx_sw_packet() local
1340 rx_buf = packet->rx_buf; in e1000g_alloc_rx_sw_packet()
1375 rx_buf->size -= E1000G_IPALIGNROOM; in e1000g_alloc_rx_sw_packet()
1388 rx_buf->address, in e1000g_alloc_rx_sw_packet()
1389 rx_buf->size, in e1000g_alloc_rx_sw_packet()
1401 dma_buffer_t *rx_buf; in e1000g_free_rx_sw_packet() local
1408 rx_buf = packet->rx_buf; in e1000g_free_rx_sw_packet()
1413 if (rx_buf->address != NULL) { in e1000g_free_rx_sw_packet()
1414 rx_buf->size += E1000G_IPALIGNROOM; in e1000g_free_rx_sw_packet()
1417 e1000g_free_dvma_buffer(rx_buf); in e1000g_free_rx_sw_packet()
[all …]
H A De1000g_sw.h592 dma_buffer_t rx_buf[1]; member
/illumos-gate/usr/src/uts/sun4u/io/
H A Drmc_comm.c350 char *rx_buf = rcs->sd_state.serdev_rx_buf; in rmc_comm_serdev_receive() local
368 rx_buf[rx_buflen++] = data; in rmc_comm_serdev_receive()
374 DATASCOPE(rcs, 'R', rx_buf, rx_buflen) in rmc_comm_serdev_receive()
382 rmc_comm_dp_drecv(rcs, (uint8_t *)rx_buf, rx_buflen); in rmc_comm_serdev_receive()
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_main.c712 brp->nslots = ngep->rx_buf; in nge_init_buff_ring()
1021 ngep->rx_buf = NGE_RECV_JB2500_SLOTS_DESC * 2; in nge_get_props()
1028 ngep->rx_buf = NGE_RECV_JB4500_SLOTS_DESC * 2; in nge_get_props()
1035 ngep->rx_buf = NGE_RECV_JB9000_SLOTS_DESC * 2; in nge_get_props()
1042 ngep->rx_buf = NGE_RECV_JB9000_SLOTS_DESC * 2; in nge_get_props()
1049 ngep->rx_buf = NGE_RECV_LOWMEM_SLOTS_DESC * 2; in nge_get_props()
1056 ngep->rx_buf = dev_param_p->rx_desc_num * 2; in nge_get_props()
1638 ngep->rx_buf = NGE_RECV_JB2500_SLOTS_DESC * 2; in nge_m_setprop()
1645 ngep->rx_buf = NGE_RECV_JB4500_SLOTS_DESC * 2; in nge_m_setprop()
1652 ngep->rx_buf = NGE_RECV_JB9000_SLOTS_DESC * 2; in nge_m_setprop()
[all …]
H A Dnge.h732 uint32_t rx_buf; member
/illumos-gate/usr/src/uts/intel/io/amd8111s/
H A Damd8111s_hw.c1770 (long)(pLayerPointers->pOdl->rx_buf.next->vir_addr); in milInitRxQ()
1773 = pLayerPointers->pOdl->rx_buf.next->phy_addr; in milInitRxQ()
1778 pLayerPointers->pOdl->rx_buf.next = in milInitRxQ()
1779 NEXT(pLayerPointers->pOdl->rx_buf, next); in milInitRxQ()
1786 pLayerPointers->pOdl->rx_buf.next = in milInitRxQ()
1787 pLayerPointers->pOdl->rx_buf.msg_buf; in milInitRxQ()
H A Damd8111s_main.h329 struct amd8111s_dma_ringbuf rx_buf; member
H A Damd8111s_main.c1087 if (amd8111s_alloc_dma_ringbuf(pLayerPointers, &pOdl->rx_buf, in amd8111s_allocate_buffers()
1131 amd8111s_free_dma_ringbuf(&pLayerPointers->pOdl->rx_buf); in amd8111s_free_buffers()
/illumos-gate/usr/src/uts/common/io/qede/
H A Dqede_fp.c494 qede_rx_buffer_t *rx_buf, *rx_buffer[ETH_RX_MAX_BUFF_PER_PKT]; in qede_reg_jumbo_cqe() local
534 rx_buf = rx_buffer[i]; in qede_reg_jumbo_cqe()
547 dma_info = &rx_buf->dma_info; in qede_reg_jumbo_cqe()
553 mp = rx_buf->mp; in qede_reg_jumbo_cqe()
/illumos-gate/usr/src/uts/common/io/elxl/
H A Delxl.h450 caddr_t rx_buf; member