Home
last modified time | relevance | path

Searched refs:next_pidx (Results 1 – 7 of 7) sorted by relevance

/freebsd-14.2/sys/dev/e1000/
H A Dem_txrx.c538 uint32_t next_pidx, pidx; in lem_isc_rxd_refill() local
546 for (i = 0, next_pidx = pidx; i < count; i++) { in lem_isc_rxd_refill()
547 rxd = (struct e1000_rx_desc *)&rxr->rx_base[next_pidx]; in lem_isc_rxd_refill()
552 if (++next_pidx == scctx->isc_nrxd[0]) in lem_isc_rxd_refill()
553 next_pidx = 0; in lem_isc_rxd_refill()
567 uint32_t next_pidx, pidx; in em_isc_rxd_refill() local
575 for (i = 0, next_pidx = pidx; i < count; i++) { in em_isc_rxd_refill()
576 rxd = &rxr->rx_base[next_pidx]; in em_isc_rxd_refill()
581 if (++next_pidx == scctx->isc_nrxd[0]) in em_isc_rxd_refill()
582 next_pidx = 0; in em_isc_rxd_refill()
H A Digb_txrx.c372 uint32_t next_pidx, pidx; in igb_isc_rxd_refill() local
380 for (i = 0, next_pidx = pidx; i < count; i++) { in igb_isc_rxd_refill()
381 rxd = (union e1000_adv_rx_desc *)&rxr->rx_base[next_pidx]; in igb_isc_rxd_refill()
384 if (++next_pidx == scctx->isc_nrxd[0]) in igb_isc_rxd_refill()
385 next_pidx = 0; in igb_isc_rxd_refill()
/freebsd-14.2/sys/dev/ixgbe/
H A Dix_txrx.c327 uint32_t next_pidx, pidx; in ixgbe_isc_rxd_refill() local
334 for (i = 0, next_pidx = pidx; i < count; i++) { in ixgbe_isc_rxd_refill()
335 rxr->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in ixgbe_isc_rxd_refill()
336 if (++next_pidx == sc->shared->isc_nrxd[0]) in ixgbe_isc_rxd_refill()
337 next_pidx = 0; in ixgbe_isc_rxd_refill()
/freebsd-14.2/sys/dev/igc/
H A Digc_txrx.c396 uint32_t next_pidx, pidx; in igc_isc_rxd_refill() local
404 for (i = 0, next_pidx = pidx; i < count; i++) { in igc_isc_rxd_refill()
405 rxd = (union igc_adv_rx_desc *)&rxr->rx_base[next_pidx]; in igc_isc_rxd_refill()
408 if (++next_pidx == scctx->isc_nrxd[0]) in igc_isc_rxd_refill()
409 next_pidx = 0; in igc_isc_rxd_refill()
/freebsd-14.2/sys/dev/ice/
H A Dice_iflib_txrx.c502 uint32_t next_pidx; in _ice_ift_rxd_refill() local
505 for (i = 0, next_pidx = pidx; i < count; i++) { in _ice_ift_rxd_refill()
506 rxq->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in _ice_ift_rxd_refill()
507 if (++next_pidx == (uint32_t)rxq->desc_count) in _ice_ift_rxd_refill()
508 next_pidx = 0; in _ice_ift_rxd_refill()
/freebsd-14.2/sys/dev/iavf/
H A Diavf_txrx_iflib.c576 uint16_t next_pidx, pidx; in iavf_isc_rxd_refill() local
584 for (i = 0, next_pidx = pidx; i < count; i++) { in iavf_isc_rxd_refill()
585 rxr->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in iavf_isc_rxd_refill()
586 if (++next_pidx == scctx->isc_nrxd[0]) in iavf_isc_rxd_refill()
587 next_pidx = 0; in iavf_isc_rxd_refill()
/freebsd-14.2/sys/dev/ixl/
H A Dixl_txrx.c553 uint32_t next_pidx, pidx; in ixl_isc_rxd_refill() local
561 for (i = 0, next_pidx = pidx; i < count; i++) { in ixl_isc_rxd_refill()
562 rxr->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in ixl_isc_rxd_refill()
563 if (++next_pidx == scctx->isc_nrxd[0]) in ixl_isc_rxd_refill()
564 next_pidx = 0; in ixl_isc_rxd_refill()