Searched refs:TX_RING_SIZE (Results 1 – 4 of 4) sorted by relevance
| /trueos/sys/dev/tx/ |
| HD | if_txvar.h | 45 #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];
|
| HD | if_tx.c | 248 IFQ_SET_MAXLEN(&ifp->if_snd, TX_RING_SIZE - 1); in epic_attach() 293 sizeof(struct epic_tx_desc) * TX_RING_SIZE, in epic_attach() 294 1, sizeof(struct epic_tx_desc) * TX_RING_SIZE, 0, in epic_attach() 303 sizeof(struct epic_frag_list) * TX_RING_SIZE, in epic_attach() 304 1, sizeof(struct epic_frag_list) * TX_RING_SIZE, 0, in epic_attach() 319 sizeof(struct epic_frag_list) * TX_RING_SIZE, epic_dma_map_addr, in epic_attach() 332 sizeof(struct epic_tx_desc) * TX_RING_SIZE, epic_dma_map_addr, in epic_attach() 659 while (sc->pending_txs < TX_RING_SIZE) { in epic_ifstart_locked() 854 if (sc->pending_txs < TX_RING_SIZE) in epic_tx_done() 1601 for (i = 0; i < TX_RING_SIZE; i++) { in epic_free_rings() [all …]
|
| /trueos/sys/dev/nve/ |
| HD | if_nve.c | 398 sizeof(struct nve_tx_desc) * TX_RING_SIZE, 1, in nve_attach() 399 sizeof(struct nve_tx_desc) * TX_RING_SIZE, 0, in nve_attach() 413 bzero(sc->tx_desc, sizeof(struct nve_tx_desc) * TX_RING_SIZE); in nve_attach() 415 sizeof(struct nve_tx_desc) * TX_RING_SIZE, nve_dmamap_cb, in nve_attach() 478 OpenParams.MaxTxPkt = TX_RING_SIZE; in nve_attach() 536 IFQ_SET_MAXLEN(&ifp->if_snd, TX_RING_SIZE - 1); in nve_attach() 537 ifp->if_snd.ifq_drv_maxlen = TX_RING_SIZE - 1; in nve_attach() 798 for (i = 0; i < TX_RING_SIZE; i++) { in nve_init_rings() 839 for (i = 0; i < TX_RING_SIZE; i++) { in nve_free_rings() 885 while (sc->pending_txs < TX_RING_SIZE) { in nve_ifstart_locked() [all …]
|
| HD | if_nvereg.h | 72 #define TX_RING_SIZE 64 macro
|