Searched refs:TX_RING_SIZE (Results 1 - 4 of 4) sorted by relevance

/freebsd-11-stable/sys/dev/tx/
H A Dif_txvar.h45 #define TX_RING_SIZE 16 /* Leave this a power of 2 */ macro
48 #define TX_RING_MASK (TX_RING_SIZE - 1)
94 struct epic_tx_buffer tx_buffer[TX_RING_SIZE];
H A Dif_tx.c250 IFQ_SET_MAXLEN(&ifp->if_snd, TX_RING_SIZE - 1);
295 sizeof(struct epic_tx_desc) * TX_RING_SIZE,
296 1, sizeof(struct epic_tx_desc) * TX_RING_SIZE, 0,
305 sizeof(struct epic_frag_list) * TX_RING_SIZE,
306 1, sizeof(struct epic_frag_list) * TX_RING_SIZE, 0,
321 sizeof(struct epic_frag_list) * TX_RING_SIZE, epic_dma_map_addr,
334 sizeof(struct epic_tx_desc) * TX_RING_SIZE, epic_dma_map_addr,
660 while (sc->pending_txs < TX_RING_SIZE) {
855 if (sc->pending_txs < TX_RING_SIZE)
1602 for (i = 0; i < TX_RING_SIZE;
[all...]
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Dqlnx_def.h111 #define TX_RING_SIZE (1 << TX_RING_SIZE_POW) macro
158 struct sw_tx_bd sw_tx_ring[TX_RING_SIZE];
H A Dqlnx_os.c3050 if ((diff > TX_RING_SIZE) ||
3076 idx = (txq->sw_tx_cons + 1) & (TX_RING_SIZE - 1);
3077 idx2 = (txq->sw_tx_cons + 2) & (TX_RING_SIZE - 1);
3083 txq->sw_tx_cons = (txq->sw_tx_cons + 1) & (TX_RING_SIZE - 1);
3573 bd_used = TX_RING_SIZE - elem_left;
3854 txq->sw_tx_prod = (txq->sw_tx_prod + 1) & (TX_RING_SIZE - 1);
3909 return(TX_RING_SIZE - 1);
6485 (sizeof (struct sw_tx_bd) * TX_RING_SIZE));
6507 (sizeof (struct sw_tx_bd) * TX_RING_SIZE));
6514 TX_RING_SIZE,
[all...]

Completed in 134 milliseconds