Home
last modified time | relevance | path

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

/freebsd/tools/tools/netmap/
H A Dbridge.c69 rings_move(struct netmap_ring *rxring, struct netmap_ring *txring, in rings_move() argument
75 if (rxring->flags || txring->flags) in rings_move()
77 msg, rxring->flags, txring->flags); in rings_move()
79 k = txring->head; /* TX */ in rings_move()
83 m = nm_ring_space(txring); in rings_move()
89 struct netmap_slot *ts = &txring->slot[k]; in rings_move()
115 char *txbuf = NETMAP_BUF(txring, ts->buf_idx); in rings_move()
124 k = nm_ring_next(txring, k); in rings_move()
127 txring->head = txring->cur = k; in rings_move()
130 msg, m, rxring->ringid, txring->ringid); in rings_move()
[all …]
H A Dpkt-gen.c1587 struct netmap_ring *txring, *rxring; in pong_body() local
1616 txring = NETMAP_TXRING(nifp, targ->nmd->first_tx_ring); in pong_body()
1617 txhead = txring->head; in pong_body()
1618 txavail = nm_ring_space(txring); in pong_body()
1632 dst = NETMAP_BUF(txring, in pong_body()
1633 txring->slot[txhead].buf_idx); in pong_body()
1652 txring->slot[txhead].len = slot->len; in pong_body()
1654 txhead = nm_ring_next(txring, txhead); in pong_body()
1659 txring->head = txring->cur = txhead; in pong_body()
1681 struct netmap_ring *txring = NULL; in sender_body() local
[all …]
/freebsd/sys/dev/cadence/
H A Dif_cgem.c157 struct cgem_tx_desc *txring; member
417 sc->txring = NULL; in cgem_setup_descs()
473 sc->txring = (struct cgem_tx_desc *)(sc->rxring + CGEM_NUM_RX_DESCS); in cgem_setup_descs()
479 sc->txring[i].addr = 0; in cgem_setup_descs()
480 sc->txring[i].ctl = CGEM_TXDESC_USED; in cgem_setup_descs()
484 sc->txring[CGEM_NUM_TX_DESCS - 1].ctl |= CGEM_TXDESC_WRAP; in cgem_setup_descs()
491 sc->null_qs = (void *)(sc->txring + CGEM_NUM_TX_DESCS); in cgem_setup_descs()
673 ((ctl = sc->txring[sc->txring_tl_ptr].ctl) & in cgem_clean_tx()
698 sc->txring[sc->txring_tl_ptr].addrhi, in cgem_clean_tx()
699 sc->txring[sc->txring_tl_ptr].addr); in cgem_clean_tx()
[all …]
/freebsd/sys/dev/netmap/
H A Dnetmap_pipe.c190 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; in netmap_pipe_txsync() local
212 struct netmap_slot *ts = &txring->slot[k]; in netmap_pipe_txsync()
246 struct netmap_ring *txring = txkring->ring, *rxring = rxkring->ring; in netmap_pipe_rxsync() local
267 struct netmap_slot *ts = &txring->slot[k]; in netmap_pipe_rxsync()