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

/freebsd-12-stable/tools/tools/netmap/
H A Dbridge.c67 * Move up to 'limit' pkts from rxring to txring, swapping buffers
71 rings_move(struct netmap_ring *rxring, struct netmap_ring *txring, argument
77 if (rxring->flags || txring->flags)
79 msg, rxring->flags, txring->flags);
80 j = rxring->head; /* RX */
82 m = nm_ring_space(rxring);
90 struct netmap_slot *rs = &rxring->slot[j];
99 if (rs->len > rxring->nr_buf_size) {
116 char *rxbuf = NETMAP_BUF(rxring, rs->buf_idx);
125 j = nm_ring_next(rxring,
142 struct netmap_ring *txring, *rxring; local
[all...]
H A Dlb.c890 struct netmap_ring *rxring = NETMAP_RXRING(rxport->nmd->nifp, i); local
891 struct morefrag *mf = (struct morefrag *)rxring->sem;
1008 struct netmap_ring *rxring = NETMAP_RXRING(rxport->nmd->nifp, i); local
1009 struct morefrag *mf = (struct morefrag *)rxring->sem;
1012 int next_head = rxring->head;
1013 struct netmap_slot *next_slot = &rxring->slot[next_head];
1014 const char *next_buf = NETMAP_BUF(rxring, next_slot->buf_idx);
1015 while (!nm_ring_empty(rxring)) {
1035 next_head = nm_ring_next(rxring, next_head);
1036 next_slot = &rxring
[all...]
H A Dpkt-gen.c1496 struct netmap_ring *txring, *rxring; local
1525 rxring = NETMAP_RXRING(nifp, i);
1526 while (!nm_ring_empty(rxring)) {
1528 uint32_t head = rxring->head;
1529 struct netmap_slot *slot = &rxring->slot[head];
1531 src = NETMAP_BUF(rxring, slot->buf_idx);
1533 rxring->head = rxring->cur = nm_ring_next(rxring, head);
1816 struct netmap_ring *rxring; local
[all...]
H A Dnmreplay.c565 struct netmap_ring *rxring; /* current ring being handled */ member in struct:_qs
/freebsd-12-stable/sys/dev/cadence/
H A Dif_cgem.c126 struct cgem_rx_desc *rxring; member in struct:cgem_softc
380 sc->rxring = NULL;
415 (void **)&sc->rxring,
423 (void *)sc->rxring,
432 sc->rxring[i].addr = CGEM_RXDESC_OWN;
433 sc->rxring[i].ctl = 0;
437 sc->rxring[CGEM_NUM_RX_DESCS - 1].addr |= CGEM_RXDESC_WRAP;
521 sc->rxring[sc->rxring_hd_ptr].ctl = 0;
523 sc->rxring[sc->rxring_hd_ptr].addr = segs[0].ds_addr |
527 sc->rxring[s
[all...]
/freebsd-12-stable/sys/dev/netmap/
H A Dnetmap_pipe.c191 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; local
212 struct netmap_slot *rs = &rxring->slot[k];
243 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; local
263 struct netmap_slot *rs = &rxring->slot[k];
/freebsd-12-stable/sys/dev/qat/
H A Dqat_hw15.c99 uint32_t rxring)
106 msg->resp_pipe_id = rxring;
98 qat_msg_req_type_populate(struct arch_if_req_hdr *msg, enum arch_if_req type, uint32_t rxring) argument

Completed in 137 milliseconds