/netbsd-current/sys/dev/pci/ |
H A D | if_ena.c | 547 rxr = &adapter->rx_ring[i]; 588 que->rx_ring = rxr; 601 struct ena_ring *rxr = &adapter->rx_ring[qid]; 830 validate_rx_req_id(struct ena_ring *rx_ring, uint16_t req_id) argument 832 if (likely(req_id < rx_ring->ring_size)) 835 device_printf(rx_ring->adapter->pdev, "Invalid rx req_id: %hu\n", 837 counter_u64_add(rx_ring->rx_stats.bad_req_id, 1); 840 rx_ring->adapter->reset_reason = ENA_REGS_RESET_INV_RX_REQ_ID; 841 ENA_FLAG_SET_ATOMIC(ENA_FLAG_TRIGGER_RESET, rx_ring->adapter); 857 struct ena_ring *rx_ring local 948 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; local 1022 ena_alloc_rx_mbuf(struct ena_adapter *adapter, struct ena_ring *rx_ring, struct ena_rx_buffer *rx_info) argument 1077 ena_free_rx_mbuf(struct ena_adapter *adapter, struct ena_ring *rx_ring, struct ena_rx_buffer *rx_info) argument 1098 ena_refill_rx_bufs(struct ena_ring *rx_ring, uint32_t num) argument 1160 struct ena_ring *rx_ring = &adapter->rx_ring[qid]; local 1179 struct ena_ring *rx_ring; local 1540 ena_rx_mbuf(struct ena_ring *rx_ring, struct ena_com_rx_buf_info *ena_bufs, struct ena_com_rx_ctx *ena_rx_ctx, uint16_t *next_to_clean) argument 1637 ena_rx_checksum(struct ena_ring *rx_ring, struct ena_com_rx_ctx *ena_rx_ctx, struct mbuf *mbuf) argument 1685 ena_rx_cleanup(struct ena_ring *rx_ring) argument 1844 struct ena_ring *rx_ring = queue->rx_ring; local 1867 struct ena_ring *rx_ring = que->rx_ring; local 2642 struct ena_ring *rx_ring = adapter->que[i].rx_ring; local 3520 struct ena_ring *rx_ring; local [all...] |
H A D | if_et.c | 736 struct et_rxdesc_ring *rx_ring = &sc->sc_rx_ring[i]; local 739 (void **)&rx_ring->rr_desc, 740 &rx_ring->rr_paddr, &rx_ring->rr_dmap, &rx_ring->rr_seg); 746 rx_ring->rr_posreg = rx_ring_posreg[i]; 804 struct et_rxdesc_ring *rx_ring = &sc->sc_rx_ring[i]; local 806 et_dma_mem_destroy(sc, rx_ring->rr_desc, rx_ring->rr_dmap); 1256 struct et_rxdesc_ring *rx_ring local 1446 struct et_rxdesc_ring *rx_ring; local 1750 struct et_rxdesc_ring *rx_ring; local 2058 struct et_rxdesc_ring *rx_ring; local [all...] |
H A D | if_rtwn.c | 476 struct rtwn_rx_ring *rx_ring = &sc->rx_ring; local 483 &rx_ring->map); 487 rx_ring->map = NULL; 491 error = bus_dmamem_alloc(sc->sc_dmat, size, 0, 0, &rx_ring->seg, 1, 492 &rx_ring->nsegs, BUS_DMA_NOWAIT); 498 error = bus_dmamem_map(sc->sc_dmat, &rx_ring->seg, rx_ring->nsegs, 499 size, (void **)&rx_ring->desc, BUS_DMA_NOWAIT | BUS_DMA_COHERENT); 501 bus_dmamem_free(sc->sc_dmat, &rx_ring 567 struct rtwn_rx_ring *rx_ring = &sc->rx_ring; local 581 struct rtwn_rx_ring *rx_ring = &sc->rx_ring; local [all...] |
H A D | if_rtwnreg.h | 193 struct rtwn_rx_ring rx_ring; member in struct:rtwn_softc
|
H A D | if_enavar.h | 191 struct ena_ring *rx_ring; member in struct:ena_que 407 struct ena_ring rx_ring[ENA_MAX_NUM_IO_QUEUES]
|
/netbsd-current/sys/dev/pci/igc/ |
H A D | if_igc.h | 267 struct rx_ring *rxr; 306 struct rx_ring { struct 315 struct if_rxring rx_ring; member in struct:rx_ring 368 struct rx_ring *rx_rings;
|
H A D | if_igc.c | 197 static void igc_rxfill(struct rx_ring *); 198 static void igc_rxrefill(struct rx_ring *, int); 199 static bool igc_rxeof(struct rx_ring *, u_int); 209 static int igc_get_buf(struct rx_ring *, int, bool); 235 static int igc_allocate_receive_buffers(struct rx_ring *); 237 static int igc_setup_receive_ring(struct rx_ring *); 240 static void igc_free_receive_buffers(struct rx_ring *); 241 static void igc_clear_receive_status(struct rx_ring *); 298 igc_rxdesc_sync(struct rx_ring *rxr, int id, int ops) 655 kmem_zalloc(sc->sc_nqueues * sizeof(struct rx_ring), KM_SLEE [all...] |
/netbsd-current/sys/dev/pci/ixgbe/ |
H A D | ixgbe.h | 332 struct rx_ring *rxr; 407 struct rx_ring { struct 574 struct rx_ring *rx_rings; 696 ixgbe_rx_unrefreshed(struct rx_ring *rxr)
|
H A D | ix_txrx.c | 112 static int ixgbe_setup_receive_ring(struct rx_ring *); 113 static void ixgbe_free_receive_buffers(struct rx_ring *); 116 static void ixgbe_refresh_mbufs(struct rx_ring *, int); 123 static __inline void ixgbe_rx_discard(struct rx_ring *, int); 124 static __inline void ixgbe_rx_input(struct rx_ring *, struct ifnet *, 130 static void ixgbe_setup_hw_rsc(struct rx_ring *); 1289 ixgbe_setup_hw_rsc(struct rx_ring *rxr) 1353 ixgbe_refresh_mbufs(struct rx_ring *rxr, int limit) 1428 ixgbe_allocate_receive_buffers(struct rx_ring *rxr) 1474 ixgbe_free_receive_ring(struct rx_ring *rx [all...] |
H A D | ixv.c | 622 struct rx_ring *rxr = sc->rx_rings; 901 struct rx_ring *rxr = que->rxr; 1888 struct rx_ring *rxr = sc->rx_rings; 2051 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; 2072 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; 2097 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; 2117 struct rx_ring *rx [all...] |
H A D | ixgbe_netmap.c | 395 struct rx_ring *rxr = &sc->rx_rings[kring->ring_id];
|
H A D | ixgbe.c | 556 struct rx_ring *rxr = sc->rx_rings; 1831 struct rx_ring *rxr = sc->rx_rings; 2160 struct rx_ring *rxr = sc->rx_rings; 2350 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; 2376 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; 2401 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; 2426 struct rx_ring *rx [all...] |
/netbsd-current/sys/arch/xen/xen/ |
H A D | if_xennet_xenbus.c | 266 netif_rx_sring_t *rx_ring; local 412 rx_ring = (void *)uvm_km_alloc(kernel_map, PAGE_SIZE, 0, 414 if (tx_ring == NULL || rx_ring == NULL) 418 sc->sc_rx_ring.sring = rx_ring; 448 uvm_km_free(kernel_map, (vaddr_t)rx_ring, PAGE_SIZE, 534 netif_rx_sring_t *rx_ring; local 548 rx_ring = sc->sc_rx_ring.sring; 555 memset(rx_ring, 0, PAGE_SIZE); 556 SHARED_RING_INIT(rx_ring); 557 FRONT_RING_INIT(&sc->sc_rx_ring, rx_ring, PAGE_SIZ [all...] |
H A D | xennetback_xenbus.c | 411 netif_rx_sring_t *rx_ring; local 470 rx_ring = (void *)xneti->xni_rx_ring_va; 488 BACK_RING_INIT(&xneti->xni_rxring, rx_ring, PAGE_SIZE);
|