Home
last modified time | relevance | path

Searched refs:fl_pidx (Results 1 – 3 of 3) sorted by relevance

/freebsd-11-stable/sys/dev/cxgbe/
HDt4_netmap.c163 nm_rxq->fl_pidx = nm_rxq->fl_cidx = 0; in alloc_nm_rxq_hwq()
359 j = nm_rxq->fl_pidx = nm_rxq->fl_sidx - 8; in cxgbe_netmap_on()
784 u_int fl_pidx = nm_rxq->fl_pidx; in cxgbe_netmap_rxsync() local
785 struct netmap_slot *slot = &ring->slot[fl_pidx]; in cxgbe_netmap_rxsync()
794 MPASS((fl_pidx & 7) == 0); in cxgbe_netmap_rxsync()
798 IDXINCR(nm_rxq->fl_pidx, n, nm_rxq->fl_sidx); in cxgbe_netmap_rxsync()
801 for (i = 0; i < 8; i++, fl_pidx++, slot++) { in cxgbe_netmap_rxsync()
804 nm_rxq->fl_desc[fl_pidx] = htobe64(ba | hwidx); in cxgbe_netmap_rxsync()
806 MPASS(fl_pidx <= nm_rxq->fl_sidx); in cxgbe_netmap_rxsync()
809 if (fl_pidx == nm_rxq->fl_sidx) { in cxgbe_netmap_rxsync()
[all …]
HDadapter.h689 uint32_t fl_pidx; member
HDt4_sge.c3316 nm_rxq->fl_pidx = nm_rxq->fl_cidx = 0; in alloc_nm_rxq()
3349 &nm_rxq->fl_pidx, 0, "producer index"); in alloc_nm_rxq()