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

/freebsd-11-stable/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];
84 if (rs->len > rxring->nr_buf_size) {
101 char *rxbuf = NETMAP_BUF(rxring, rs->buf_idx);
105 j = nm_ring_next(rxring,
120 struct netmap_ring *txring, *rxring; local
[all...]
H A Dlb.c948 struct netmap_ring *rxring = NETMAP_RXRING(rxport->nmd->nifp, i); local
951 int next_cur = rxring->cur;
952 struct netmap_slot *next_slot = &rxring->slot[next_cur];
953 const char *next_buf = NETMAP_BUF(rxring, next_slot->buf_idx);
954 while (!nm_ring_empty(rxring)) {
966 next_cur = nm_ring_next(rxring, next_cur);
967 next_slot = &rxring->slot[next_cur];
968 next_buf = NETMAP_BUF(rxring, next_slot->buf_idx);
973 rxring->head = rxring
[all...]
H A Dpkt-gen.c1477 struct netmap_ring *txring, *rxring; local
1506 rxring = NETMAP_RXRING(nifp, i);
1507 while (!nm_ring_empty(rxring)) {
1509 uint32_t head = rxring->head;
1510 struct netmap_slot *slot = &rxring->slot[head];
1512 src = NETMAP_BUF(rxring, slot->buf_idx);
1514 rxring->head = rxring->cur = nm_ring_next(rxring, head);
1797 struct netmap_ring *rxring; local
[all...]
/freebsd-11-stable/sys/dev/cadence/
H A Dif_cgem.c118 struct cgem_rx_desc *rxring; member in struct:cgem_softc
372 sc->rxring = NULL;
407 (void **)&sc->rxring,
415 (void *)sc->rxring,
424 sc->rxring[i].addr = CGEM_RXDESC_OWN;
425 sc->rxring[i].ctl = 0;
429 sc->rxring[CGEM_NUM_RX_DESCS - 1].addr |= CGEM_RXDESC_WRAP;
513 sc->rxring[sc->rxring_hd_ptr].ctl = 0;
515 sc->rxring[sc->rxring_hd_ptr].addr = segs[0].ds_addr |
519 sc->rxring[s
[all...]
/freebsd-11-stable/sys/dev/netmap/
H A Dnetmap_pipe.c189 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; local
210 struct netmap_slot *rs = &rxring->slot[k];
241 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; local
261 struct netmap_slot *rs = &rxring->slot[k];
/freebsd-11-stable/sys/dev/lmc/
H A Dif_lmc.c2495 struct desc_ring *ring = &sc->rxring;
2677 struct desc_ring *ring = &sc->rxring;
3053 ring = &sc->rxring;
3054 DMA_SYNC(sc->rxring.map, sc->rxring.size_descs,
3070 ring = &sc->rxring;
3071 DMA_SYNC(sc->rxring.map, sc->rxring.size_descs,
3128 sc->quota = sc->rxring.num_descs; /* input flow control */
4271 if ((error = create_ring(sc, &sc->rxring, num_rx_desc
[all...]
H A Dif_lmc.h1131 struct desc_ring rxring; /* rx descriptor ring state */
1130 struct desc_ring rxring; /* rx descriptor ring state */ member in struct:softc

Completed in 116 milliseconds