Searched refs:rx_rings (Results 1 – 11 of 11) sorted by relevance
271 na->rx_rings[i].nkr_stopped = 0; in netmap_set_all_rings()423 na->rx_rings = na->tx_rings + ntx; in netmap_krings_create()444 kring = &na->rx_rings[i]; in netmap_krings_create()1621 kring = &na->rx_rings[lim_rx]; in netmap_poll()1636 kring = &na->rx_rings[lim_rx]; in netmap_poll()1672 kring = &na->rx_rings[i]; in netmap_poll()1752 kring = &na->rx_rings[i]; in netmap_poll()1793 kring = &na->rx_rings[lim_rx]; in netmap_poll()1827 kring = na->rx_rings + n_ring; in netmap_notify()2097 kring = na->rx_rings + n; in netmap_reset()[all …]
199 mbq_safe_init(&na->rx_rings[r].rx_queue); in generic_netmap_register()200 na->rx_rings[r].nr_ntc = 0; in generic_netmap_register()269 mbq_safe_purge(&na->rx_rings[r].rx_queue); in generic_netmap_register()270 mbq_safe_destroy(&na->rx_rings[r].rx_queue); in generic_netmap_register()603 if (unlikely(mbq_len(&na->rx_rings[rr].rx_queue) > 1024)) { in generic_rx_handler()606 mbq_safe_enqueue(&na->rx_rings[rr].rx_queue, m); in generic_rx_handler()637 struct netmap_kring *kring = &na->rx_rings[ring_nr]; in generic_netmap_rxsync()
379 kring = nma_is_vp(na) ? na->tx_rings : na->rx_rings; in nm_free_bdgfwd()929 na->rx_rings[i].nkr_leases = leases; in netmap_vp_krings_create()1273 kring = &dst_na->up.rx_rings[dst_nr]; in nm_bdg_flush()1487 struct netmap_kring *kring = &na->rx_rings[ring_nr]; in bdg_netmap_rxsync()1621 kring = tx == NR_TX ? na->tx_rings : na->rx_rings; in netmap_bwrap_intr_notify()1622 bkring = tx == NR_TX ? vpna->up.rx_rings : vpna->up.tx_rings; in netmap_bwrap_intr_notify()1636 kring = &na->rx_rings[ring_nr]; in netmap_bwrap_intr_notify()1701 hwna->tx_rings[i].ring = na->rx_rings[i].ring; in netmap_bwrap_register()1705 hwna->rx_rings[i].ring = na->tx_rings[i].ring; in netmap_bwrap_register()1770 hostna->rx_rings = na->rx_rings + na->num_rx_rings; in netmap_bwrap_krings_create()[all …]
905 if (na->rx_rings[i].ring) { in netmap_free_rings()906 netmap_ring_free(na->nm_mem, na->rx_rings[i].ring); in netmap_free_rings()907 na->rx_rings[i].ring = NULL; in netmap_free_rings()926 for (kring = na->tx_rings; kring != na->rx_rings; kring++) { /* Transmit rings */ in netmap_mem_rings_create()1072 netmap_ring_offset(na->nm_mem, na->rx_rings[i].ring) - base; in netmap_mem_if_new()
304 struct netmap_kring *rx_rings; /* array of RX rings. */ member
968 error = ix_init_rx_ring(&sc->rx_rings[i]); in ix_init()1046 sc->rx_rings[0].rx_ndesc - 1); in ix_init()1182 struct ix_rx_ring *rxr = &sc->rx_rings[0]; in ix_intr()1192 rxr = &sc->rx_rings[1]; in ix_intr()1789 ix_free_rx_ring(&sc->rx_rings[i]); in ix_stop()3653 struct ix_rx_ring *rxr = sc->rx_rings;4169 if (sc->rx_rings != NULL) { in ix_free_rings()4175 kfree(sc->rx_rings, M_DEVBUF); in ix_free_rings()4486 nsegs = sc->rx_rings[0].rx_wreg_nsegs; in ix_sysctl_rx_wreg_nsegs()4495 sc->rx_rings[i].rx_wreg_nsegs =nsegs; in ix_sysctl_rx_wreg_nsegs()[all …]
320 struct ix_rx_ring *rx_rings; member
2067 if (sc->rx_rings != NULL) { in bce_dma_free()2070 kfree(sc->rx_rings, M_DEVBUF); in bce_dma_free()2533 sc->rx_rings[i].sc = sc; in bce_dma_alloc()2534 sc->rx_rings[i].idx = i; in bce_dma_alloc()2536 sc->rx_rings[i].rx_cid = RX_CID; in bce_dma_alloc()2537 sc->rx_rings[i].rx_hw_cons = in bce_dma_alloc()2539 sc->rx_rings[i].hw_status_idx = in bce_dma_alloc()2548 sc->rx_rings[i].rx_hw_cons = in bce_dma_alloc()4602 (sc->rx_rings[i].idx << 24) | in bce_disable_intr()5473 bce_reenable_intr(&sc->rx_rings[0]); in bce_intr_msi()[all …]
6083 struct bce_rx_ring *rx_rings; member
1023 error = igb_init_rx_ring(&sc->rx_rings[i]); in igb_init()1459 igb_free_rx_ring(&sc->rx_rings[i]); in igb_stop()1813 struct igb_rx_ring *rxr = &sc->rx_rings[i]; in igb_alloc_rings()1842 if (sc->rx_rings != NULL) { in igb_free_rings()1848 kfree(sc->rx_rings, M_DEVBUF); in igb_free_rings()2562 struct igb_rx_ring *rxr = &sc->rx_rings[i]; in igb_init_rx_unit()2696 struct igb_rx_ring *rxr = &sc->rx_rings[i]; in igb_init_rx_unit()3897 nsegs = sc->rx_rings[0].wreg_nsegs; in igb_sysctl_rx_wreg_nsegs()3904 sc->rx_rings[i].wreg_nsegs = nsegs; in igb_sysctl_rx_wreg_nsegs()4030 rxr = &sc->rx_rings[i]; in igb_init_unshared_intr()[all …]
384 struct igb_rx_ring *rx_rings; member