Home
last modified time | relevance | path

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

/trueos/sys/dev/cxgbe/
HDt4_netmap.c325 nm_rxq->fl_pidx = nm_rxq->fl_cidx = 0; in alloc_nm_rxq_hwq()
521 j = nm_rxq->fl_pidx = nm_rxq->fl_sidx - 8; in cxgbe_netmap_on()
942 u_int fl_pidx = nm_rxq->fl_pidx; in cxgbe_netmap_rxsync() local
943 struct netmap_slot *slot = &ring->slot[fl_pidx]; in cxgbe_netmap_rxsync()
952 MPASS((fl_pidx & 7) == 0); in cxgbe_netmap_rxsync()
956 IDXINCR(nm_rxq->fl_pidx, n, nm_rxq->fl_sidx); in cxgbe_netmap_rxsync()
959 for (i = 0; i < 8; i++, fl_pidx++, slot++) { in cxgbe_netmap_rxsync()
962 nm_rxq->fl_desc[fl_pidx] = htobe64(ba | hwidx); in cxgbe_netmap_rxsync()
964 MPASS(fl_pidx <= nm_rxq->fl_sidx); in cxgbe_netmap_rxsync()
967 if (fl_pidx == nm_rxq->fl_sidx) { in cxgbe_netmap_rxsync()
[all …]
HDadapter.h607 uint32_t fl_pidx; member
HDt4_sge.c3092 nm_rxq->fl_pidx = nm_rxq->fl_cidx = 0; in alloc_nm_rxq()
3125 &nm_rxq->fl_pidx, 0, "producer index"); in alloc_nm_rxq()