Home
last modified time | relevance | path

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

/freebsd-12-stable/sys/dev/e1000/
Dem_txrx.c508 uint32_t next_pidx, pidx; in lem_isc_rxd_refill() local
516 for (i = 0, next_pidx = pidx; i < count; i++) { in lem_isc_rxd_refill()
517 rxd = (struct e1000_rx_desc *)&rxr->rx_base[next_pidx]; in lem_isc_rxd_refill()
522 if (++next_pidx == scctx->isc_nrxd[0]) in lem_isc_rxd_refill()
523 next_pidx = 0; in lem_isc_rxd_refill()
537 uint32_t next_pidx, pidx; in em_isc_rxd_refill() local
545 for (i = 0, next_pidx = pidx; i < count; i++) { in em_isc_rxd_refill()
546 rxd = &rxr->rx_base[next_pidx]; in em_isc_rxd_refill()
551 if (++next_pidx == scctx->isc_nrxd[0]) in em_isc_rxd_refill()
552 next_pidx = 0; in em_isc_rxd_refill()
Digb_txrx.c371 uint32_t next_pidx, pidx; in igb_isc_rxd_refill() local
379 for (i = 0, next_pidx = pidx; i < count; i++) { in igb_isc_rxd_refill()
380 rxd = (union e1000_adv_rx_desc *)&rxr->rx_base[next_pidx]; in igb_isc_rxd_refill()
383 if (++next_pidx == scctx->isc_nrxd[0]) in igb_isc_rxd_refill()
384 next_pidx = 0; in igb_isc_rxd_refill()
/freebsd-12-stable/sys/dev/ice/
Dice_iflib_txrx.c369 uint32_t next_pidx; in ice_ift_rxd_refill() local
382 for (i = 0, next_pidx = pidx; i < count; i++) { in ice_ift_rxd_refill()
383 rxq->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in ice_ift_rxd_refill()
384 if (++next_pidx == (uint32_t)rxq->desc_count) in ice_ift_rxd_refill()
385 next_pidx = 0; in ice_ift_rxd_refill()
/freebsd-12-stable/sys/dev/ixgbe/
Dix_txrx.c328 uint32_t next_pidx, pidx; in ixgbe_isc_rxd_refill() local
335 for (i = 0, next_pidx = pidx; i < count; i++) { in ixgbe_isc_rxd_refill()
336 rxr->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in ixgbe_isc_rxd_refill()
337 if (++next_pidx == sc->shared->isc_nrxd[0]) in ixgbe_isc_rxd_refill()
338 next_pidx = 0; in ixgbe_isc_rxd_refill()
/freebsd-12-stable/sys/dev/igc/
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-12-stable/sys/dev/iavf/
Diavf_txrx_iflib.c577 uint16_t next_pidx, pidx; in iavf_isc_rxd_refill() local
585 for (i = 0, next_pidx = pidx; i < count; i++) { in iavf_isc_rxd_refill()
586 rxr->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in iavf_isc_rxd_refill()
587 if (++next_pidx == scctx->isc_nrxd[0]) in iavf_isc_rxd_refill()
588 next_pidx = 0; in iavf_isc_rxd_refill()
/freebsd-12-stable/sys/dev/ixl/
Dixl_txrx.c554 uint32_t next_pidx, pidx; in ixl_isc_rxd_refill() local
562 for (i = 0, next_pidx = pidx; i < count; i++) { in ixl_isc_rxd_refill()
563 rxr->rx_base[next_pidx].read.pkt_addr = htole64(paddrs[i]); in ixl_isc_rxd_refill()
564 if (++next_pidx == scctx->isc_nrxd[0]) in ixl_isc_rxd_refill()
565 next_pidx = 0; in ixl_isc_rxd_refill()