HomeSort by: relevance | last modified time | path
    Searched defs:rxr (Results 1 - 14 of 14) sorted by relevancy

  /src/sys/dev/pci/ixgbe/
ixgbe_netmap.c 395 struct rx_ring *rxr = &sc->rx_rings[kring->ring_id]; local in function:ixgbe_netmap_rxsync
401 bus_dmamap_sync(rxr->rxdma.dma_tag, rxr->rxdma.dma_map,
412 * nic_i = rxr->next_to_check;
417 * rxr->next_to_check is set to 0 on a ring reinit
422 nic_i = rxr->next_to_check; // or also k2n(kring->nr_hwtail)
426 union ixgbe_adv_rx_desc *curr = &rxr->rx_base[nic_i];
433 bus_dmamap_sync(rxr->ptag,
434 rxr->rx_buffers[nic_i].pmap, BUS_DMASYNC_POSTREAD);
444 rxr->next_to_check = nic_i
    [all...]
ix_txrx.c 103 #define IXGBE_M_ADJ(sc, rxr, mp) \
104 if (sc->max_frame_size <= (rxr->mbuf_sz - ETHER_ALIGN)) \
1289 ixgbe_setup_hw_rsc(struct rx_ring *rxr)
1291 struct ixgbe_softc *sc = rxr->sc;
1297 rscctrl = IXGBE_READ_REG(hw, IXGBE_RSCCTL(rxr->me));
1314 rscctrl = IXGBE_READ_REG(hw, IXGBE_RSCCTL(rxr->me));
1320 if (rxr->mbuf_sz == MCLBYTES)
1322 else if (rxr->mbuf_sz == MJUMPAGESIZE)
1324 else if (rxr->mbuf_sz == MJUM9BYTES)
1329 IXGBE_WRITE_REG(hw, IXGBE_RSCCTL(rxr->me), rscctrl)
1642 struct rx_ring *rxr = sc->rx_rings; local in function:ixgbe_setup_receive_structures
1674 struct rx_ring *rxr = sc->rx_rings; local in function:ixgbe_free_receive_structures
1821 struct rx_ring *rxr = que->rxr; local in function:ixgbe_rxeof
2361 struct rx_ring *rxr; local in function:ixgbe_allocate_queues
    [all...]
ixv.c 608 struct rx_ring *rxr = sc->rx_rings; local in function:ixv_detach
653 for (int i = 0; i < sc->num_queues; i++, rxr++, txr++) {
664 evcnt_detach(&rxr->rx_packets);
665 evcnt_detach(&rxr->rx_bytes);
666 evcnt_detach(&rxr->rx_copies);
667 evcnt_detach(&rxr->no_mbuf);
668 evcnt_detach(&rxr->rx_discarded);
887 struct rx_ring *rxr = que->rxr; local in function:ixv_msix_que
921 if ((txr->bytes == 0) && (rxr->bytes == 0)
1872 struct rx_ring *rxr = sc->rx_rings; local in function:ixv_initialize_receive_units
2035 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; local in function:ixv_sysctl_next_to_check_handler
2056 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; local in function:ixv_sysctl_next_to_refresh_handler
2081 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; local in function:ixv_sysctl_rdh_handler
2101 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; local in function:ixv_sysctl_rdt_handler
2117 struct rx_ring *rxr; local in function:ixv_setup_vlan_tagging
2626 struct rx_ring *rxr = sc->rx_rings; local in function:ixv_add_stats_sysctls
2815 struct rx_ring *rxr = sc->rx_rings; local in function:ixv_clear_evcnt
    [all...]
ixgbe.c 543 struct rx_ring *rxr = sc->rx_rings; local in function:ixgbe_initialize_receive_units
587 for (i = 0; i < sc->num_queues; i++, rxr++) {
588 u64 rdba = rxr->rxdma.dma_paddr;
592 j = rxr->me;
633 rxr->tail = IXGBE_RDT(rxr->me);
1813 struct rx_ring *rxr = sc->rx_rings; local in function:ixgbe_add_hw_stats
1885 for (i = 0; i < sc->num_queues; i++, rxr++, txr++) {
1887 struct lro_ctrl *lro = &rxr->lro;
1931 ixgbe_sysctl_next_to_check_handler, 0, (void *)rxr, 0
2142 struct rx_ring *rxr = sc->rx_rings; local in function:ixgbe_clear_evcnt
2332 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; local in function:ixgbe_sysctl_next_to_check_handler
2358 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; local in function:ixgbe_sysctl_next_to_refresh_handler
2383 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; local in function:ixgbe_sysctl_rdh_handler
2408 struct rx_ring *rxr = (struct rx_ring *)node.sysctl_data; local in function:ixgbe_sysctl_rdt_handler
2511 struct rx_ring *rxr; local in function:ixgbe_setup_vlan_hw_tagging
2821 struct rx_ring *rxr = que->rxr; local in function:ixgbe_msix_que
3701 struct rx_ring *rxr = sc->rx_rings; local in function:ixgbe_detach
4055 struct rx_ring *rxr; local in function:ixgbe_init_locked
4399 struct rx_ring *rxr = &sc->rx_rings[i]; local in function:ixgbe_configure_ivars
5490 struct rx_ring *rxr; local in function:ixgbe_enable_rx_drop
5515 struct rx_ring *rxr; local in function:ixgbe_disable_rx_drop
    [all...]
ixgbe.h 332 struct rx_ring *rxr; member in struct:ix_queue
696 ixgbe_rx_unrefreshed(struct rx_ring *rxr)
698 if (rxr->next_to_check > rxr->next_to_refresh)
699 return (rxr->next_to_check - rxr->next_to_refresh - 1);
701 return ((rxr->num_desc + rxr->next_to_check) -
702 rxr->next_to_refresh - 1);
  /src/sys/dev/pci/igc/
if_igc.h 267 struct rx_ring *rxr; member in struct:igc_queue
if_igc.c 296 igc_rxdesc_sync(struct rx_ring *rxr, int id, int ops)
299 bus_dmamap_sync(rxr->rxdma.dma_tag, rxr->rxdma.dma_map,
682 struct rx_ring *rxr = &sc->rx_rings[iq]; local in function:igc_allocate_queues
687 rxr->sc = sc;
688 rxr->rxr_igcq = &sc->queues[iq];
689 rxr->me = iq;
691 timeout_set(&rxr->rx_refill, igc_rxrefill, rxr);
693 if (igc_dma_malloc(sc, rsize, &rxr->rxdma))
722 for (struct rx_ring *rxr = sc->rx_rings; rxconf > 0; rxr++, rxconf--) local in function:igc_allocate_queues
768 struct rx_ring *rxr = &sc->rx_rings[iq]; local in function:igc_free_queues
1561 struct rx_ring *rxr = &sc->rx_rings[iq]; local in function:igc_init_locked
1918 struct rx_ring *rxr = &sc->rx_rings[iq]; local in function:igc_stop_locked
2012 struct rx_ring *rxr = &sc->rx_rings[iq]; local in function:igc_rxrinfo
2757 struct rx_ring *rxr = iq->rxr; local in function:igc_intr_queue
2791 struct rx_ring *rxr = iq->rxr; local in function:igc_intr
2863 struct rx_ring *rxr = iq->rxr; local in function:igc_handle_queue
3369 struct rx_ring *rxr = &sc->rx_rings[iq]; local in function:igc_setup_receive_structures
3495 struct rx_ring *rxr = &sc->rx_rings[iq]; local in function:igc_initialize_receive_unit
3540 struct rx_ring *rxr = &sc->rx_rings[iq]; local in function:igc_free_receive_structures
    [all...]
  /src/sys/dev/ic/
dwc_eqos.c 1686 struct eqos_ring *rxr = &sc->sc_rx; local in function:eqos_init_sysctls
1728 NULL, 0, &rxr->cur,
1734 NULL, 0, &rxr->next,
1740 NULL, 0, &rxr->queued,
1746 eqos_sysctl_rx_cur_handler, 0, (void *)rxr,
1752 eqos_sysctl_rx_end_handler, 0, (void *)rxr,
  /src/sys/dev/pci/
if_ena.c 539 struct ena_ring *txr, *rxr; local in function:ena_init_io_rings
547 rxr = &adapter->rx_ring[i];
551 ena_init_io_rings_common(adapter, rxr, i);
568 rxr->ring_size = adapter->rx_ring_size;
569 rxr->smoothed_interval =
573 ena_alloc_counters_rx(adapter, &rxr->rx_stats, i);
578 snprintf(rxr->mtx_name, sizeof(rxr->mtx_name), "%s:rx(%d)",
582 mutex_init(&rxr->ring_mtx, MUTEX_DEFAULT, IPL_NET);
588 que->rx_ring = rxr;
601 struct ena_ring *rxr = &adapter->rx_ring[qid]; local in function:ena_free_io_ring_resources
    [all...]
if_vmx.c 527 vmxnet3_rxr_increment_fill(struct vmxnet3_rxring *rxr)
530 if (++rxr->vxrxr_fill == rxr->vxrxr_ndesc) {
531 rxr->vxrxr_fill = 0;
532 rxr->vxrxr_gen ^= 1;
1130 struct vmxnet3_rxring *rxr; local in function:vmxnet3_init_rxq
1142 rxr = &rxq->vxrxq_cmd_ring[i];
1143 rxr->vxrxr_rid = i;
1144 rxr->vxrxr_ndesc = sc->vmx_nrxdescs;
1145 rxr->vxrxr_rxbuf = kmem_zalloc(rxr->vxrxr_ndesc
1243 struct vmxnet3_rxring *rxr; local in function:vmxnet3_destroy_rxq
1476 struct vmxnet3_rxring *rxr; local in function:vmxnet3_alloc_rxq_data
1553 struct vmxnet3_rxring *rxr; local in function:vmxnet3_free_rxq_data
2260 struct vmxnet3_rxring *rxr; local in function:vmxnet3_rxq_discard_chain
2353 struct vmxnet3_rxring *rxr; local in function:vmxnet3_rxq_eof
2702 struct vmxnet3_rxring *rxr; local in function:vmxnet3_rxstop
2821 struct vmxnet3_rxring *rxr; local in function:vmxnet3_rxinit
    [all...]
if_iavf.c 1098 struct iavf_rx_ring *rxr; local in function:iavf_reinit
1109 rxr = sc->sc_qps[i].qp_rxr;
1112 iavf_rxfill(sc, rxr);
1154 struct iavf_rx_ring *rxr; local in function:iavf_stop_locked
1183 rxr = sc->sc_qps[i].qp_rxr;
1186 mutex_enter(&rxr->rxr_lock);
1187 iavf_rxr_clean(sc, rxr);
1188 mutex_exit(&rxr->rxr_lock);
2334 struct iavf_rx_ring *rxr; local in function:iavf_rxr_alloc
2339 rxr = kmem_zalloc(sizeof(*rxr), KM_NOSLEEP)
3091 struct iavf_rx_ring *rxr; local in function:iavf_handle_queue_common
3230 struct iavf_rx_ring *rxr; local in function:iavf_intr
3285 struct iavf_rx_ring *rxr; local in function:iavf_queue_intr
3331 struct iavf_rx_ring *rxr; local in function:iavf_handle_queue
4637 struct iavf_rx_ring *rxr; local in function:iavf_config_irq_map
4704 struct iavf_rx_ring *rxr; local in function:iavf_config_vsi_queues
    [all...]
if_ixl.c 1924 struct ixl_rx_ring *rxr = qp->qp_rxr; local in function:ixl_enable_queue_intr
1926 ixl_wr(sc, I40E_PFINT_DYN_CTLN(rxr->rxr_qid),
1936 struct ixl_rx_ring *rxr = qp->qp_rxr; local in function:ixl_disable_queue_intr
1938 ixl_wr(sc, I40E_PFINT_DYN_CTLN(rxr->rxr_qid),
1966 struct ixl_rx_ring *rxr; local in function:ixl_reinit
1981 rxr = sc->sc_qps[i].qp_rxr;
1984 ixl_rxr_config(sc, rxr);
1992 rxr = sc->sc_qps[i].qp_rxr;
1999 ixl_wr(sc, rxr->rxr_tail, rxr->rxr_prod)
2179 struct ixl_rx_ring *rxr; local in function:ixl_stop_locked
2939 struct ixl_rx_ring *rxr = NULL; local in function:ixl_rxr_alloc
3378 struct ixl_rx_ring *rxr = qp->qp_rxr; local in function:ixl_handle_queue_common
3412 struct ixl_rx_ring *rxr; local in function:ixl_intr
3458 struct ixl_rx_ring *rxr = qp->qp_rxr; local in function:ixl_queue_intr
3499 struct ixl_rx_ring *rxr = qp->qp_rxr; local in function:ixl_handle_queue
6044 struct ixl_rx_ring *rxr; local in function:ixl_setup_stats
6203 struct ixl_rx_ring *rxr; local in function:ixl_teardown_stats
    [all...]
if_aq.c 5918 struct aq_rxring *rxr = &sc->sc_queue[i].rxring; local in function:aq_unset_stopping_flags
5924 mutex_enter(&rxr->rxr_mutex);
5925 rxr->rxr_stopping = false;
5926 mutex_exit(&rxr->rxr_mutex);
5941 struct aq_rxring *rxr = &sc->sc_queue[i].rxring; local in function:aq_set_stopping_flags
5947 mutex_enter(&rxr->rxr_mutex);
5948 rxr->rxr_stopping = true;
5949 mutex_exit(&rxr->rxr_mutex);
  /src/sys/dev/hyperv/
if_hvn.c 1790 struct hvn_rx_ring *rxr; local in function:hvn_rx_ring_create
1805 sc->sc_rxr = kmem_zalloc(sizeof(*rxr) * ring_cnt, KM_SLEEP);
1809 rxr = &sc->sc_rxr[i];
1810 rxr->rxr_softc = sc;
1812 rxr->rxr_txr = &sc->sc_txr[i];
1813 rxr->rxr_txr->txr_rxr = rxr;
1816 mutex_init(&rxr->rxr_lock, MUTEX_DEFAULT, IPL_NET);
1817 mutex_init(&rxr->rxr_onwork_lock, MUTEX_DEFAULT, IPL_NET);
1818 cv_init(&rxr->rxr_onwork_cv, "waitonwk")
1867 struct hvn_rx_ring *rxr; local in function:hvn_rx_ring_destroy
1913 struct hvn_rx_ring *rxr; local in function:hvn_fixup_rx_data
2401 struct hvn_rx_ring *rxr; local in function:hvn_channel_attach
2874 struct hvn_rx_ring *rxr; local in function:hvn_channel_drain
3699 struct hvn_rx_ring *rxr = container_of(wk, struct hvn_rx_ring, rxr_wk); local in function:hvn_handle_ring_work
3707 struct hvn_rx_ring *rxr = arg; local in function:hvn_nvs_softintr
3715 struct hvn_rx_ring *rxr = arg; local in function:hvn_nvs_intr
3741 struct hvn_rx_ring *rxr = &sc->sc_rxr[0]; \/* primary channel *\/ local in function:hvn_nvs_cmd
4536 struct hvn_rx_ring *rxr = &sc->sc_rxr[0]; \/* primary channel *\/ local in function:hvn_rndis_cmd
    [all...]

Completed in 35 milliseconds