Home
last modified time | relevance | path

Searched refs:np_qfirst (Results 1 – 4 of 4) sorted by relevance

/freebsd/sys/dev/netmap/
H A Dnetmap.c1900 priv->np_qfirst[t] = priv->np_qlast[t] = 0; in netmap_interp_ringid()
1906 priv->np_qfirst[t] = 0; in netmap_interp_ringid()
1909 priv->np_qfirst[t], priv->np_qlast[t]); in netmap_interp_ringid()
1917 priv->np_qfirst[t] = (nr_mode == NR_REG_SW ? in netmap_interp_ringid()
1922 priv->np_qfirst[t], priv->np_qlast[t]); in netmap_interp_ringid()
1934 priv->np_qfirst[t] = j; in netmap_interp_ringid()
1937 priv->np_qfirst[t], priv->np_qlast[t]); in netmap_interp_ringid()
1953 priv->np_qfirst[t] = nma_get_nrings(na, t) + j; in netmap_interp_ringid()
1956 priv->np_qfirst[t], priv->np_qlast[t]); in netmap_interp_ringid()
1967 if (priv->np_qfirst[NR_TX] == 0 && in netmap_interp_ringid()
[all …]
H A Dnetmap_kloop.c626 num_rx_rings = priv->np_qlast[NR_RX] - priv->np_qfirst[NR_RX]; in netmap_sync_kloop()
627 num_tx_rings = priv->np_qlast[NR_TX] - priv->np_qfirst[NR_TX]; in netmap_sync_kloop()
641 a->kring = NMR(na, NR_TX)[i + priv->np_qfirst[NR_TX]]; in netmap_sync_kloop()
650 a->kring = NMR(na, NR_RX)[i + priv->np_qfirst[NR_RX]]; in netmap_sync_kloop()
H A Dnetmap_kern.h2052 u_int np_qfirst[NR_TXRX], member
2098 for (i = np->np_qfirst[t]; i < np->np_qlast[t]; i++) { in nm_kring_pending()
2113 (priv->np_qlast[t] - priv->np_qfirst[t] > 1)); in nm_si_user()
H A Dnetmap_mem2.c2151 if (na->tx_rings[i]->ring != NULL && i >= priv->np_qfirst[NR_TX] in netmap_mem2_if_new()
2163 if (na->rx_rings[i]->ring != NULL && i >= priv->np_qfirst[NR_RX] in netmap_mem2_if_new()