Searched refs:rxring (Results 1 - 5 of 5) sorted by relevance

/freebsd-10.1-release/tools/tools/netmap/
H A Dbridge.c52 * move up to 'limit' pkts from rxring to txring swapping buffers.
55 process_rings(struct netmap_ring *rxring, struct netmap_ring *txring, argument
61 if (rxring->flags || txring->flags)
63 msg, rxring->flags, txring->flags);
64 j = rxring->cur; /* RX */
66 m = nm_ring_space(rxring);
74 struct netmap_slot *rs = &rxring->slot[j];
99 char *rxbuf = NETMAP_BUF(rxring, rs->buf_idx);
103 j = nm_ring_next(rxring, j);
106 rxring
118 struct netmap_ring *txring, *rxring; local
[all...]
H A Dpkt-gen.c884 struct netmap_ring *txring, *rxring; local
909 rxring = NETMAP_RXRING(nifp, i);
910 while (!nm_ring_empty(rxring)) {
912 uint32_t cur = rxring->cur;
913 struct netmap_slot *slot = &rxring->slot[cur];
915 src = NETMAP_BUF(rxring, slot->buf_idx);
917 rxring->head = rxring->cur = nm_ring_next(rxring, cur);
1211 struct netmap_ring *rxring; local
[all...]
/freebsd-10.1-release/sys/dev/cadence/
H A Dif_cgem.c116 struct cgem_rx_desc *rxring; member in struct:cgem_softc
298 sc->rxring = NULL;
333 (void **)&sc->rxring,
341 (void *)sc->rxring,
350 sc->rxring[i].addr = CGEM_RXDESC_OWN;
351 sc->rxring[i].ctl = 0;
358 sc->rxring[CGEM_NUM_RX_DESCS - 1].addr |= CGEM_RXDESC_WRAP;
436 sc->rxring[sc->rxring_hd_ptr].ctl = 0;
438 sc->rxring[sc->rxring_hd_ptr].addr = segs[0].ds_addr |
442 sc->rxring[s
[all...]
/freebsd-10.1-release/sys/dev/lmc/
H A Dif_lmc.c2816 struct desc_ring *ring = &sc->rxring;
3008 struct desc_ring *ring = &sc->rxring;
3395 struct desc_ring *ring = &sc->rxring;
3557 struct desc_ring *ring = &sc->rxring;
3920 ring = &sc->rxring;
3921 DMA_SYNC(sc->rxring.map, sc->rxring.size_descs,
3939 ring = &sc->rxring;
3940 DMA_SYNC(sc->rxring.map, sc->rxring
[all...]
H A Dif_lmc.h1209 struct desc_ring rxring; /* rx descriptor ring state */
1208 struct desc_ring rxring; /* rx descriptor ring state */ member in struct:softc

Completed in 170 milliseconds