Home
last modified time | relevance | path

Searched refs:SFXGE_TX_NDESCS (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/io/sfxge/
H A Dsfxge_tx.c277 dma_attr.sdba_length = EFX_TXQ_SIZE(SFXGE_TX_NDESCS); in sfxge_tx_qctor()
281 dma_attr.sdba_maxcookies = EFX_TXQ_NBUFS(SFXGE_TX_NDESCS); in sfxge_tx_qctor()
288 if ((rc = sfxge_sram_buf_tbl_alloc(sp, EFX_TXQ_NBUFS(SFXGE_TX_NDESCS), in sfxge_tx_qctor()
294 EFX_TXQ_LIMIT(SFXGE_TX_NDESCS), kmflags)) == NULL) { in sfxge_tx_qctor()
301 SFXGE_TX_NDESCS, kmflags)) == NULL) { in sfxge_tx_qctor()
307 SFXGE_TX_NDESCS, kmflags)) == NULL) { in sfxge_tx_qctor()
313 SFXGE_TX_NDESCS, kmflags)) == NULL) { in sfxge_tx_qctor()
329 kmem_free(stp->st_stbp, sizeof (sfxge_tx_buffer_t *) * SFXGE_TX_NDESCS); in sfxge_tx_qctor()
336 sizeof (sfxge_tx_mapping_t *) * SFXGE_TX_NDESCS); in sfxge_tx_qctor()
344 EFX_TXQ_LIMIT(SFXGE_TX_NDESCS)); in sfxge_tx_qctor()
[all …]
H A Dsfxge_ev.c447 stop = (id + 1) & (SFXGE_TX_NDESCS - 1); in sfxge_ev_tx()
448 id = stp->st_pending & (SFXGE_TX_NDESCS - 1); in sfxge_ev_tx()
450 delta = (stop >= id) ? (stop - id) : (SFXGE_TX_NDESCS - id + stop); in sfxge_ev_tx()
1176 evqX_size = sp->s_rxq_size + SFXGE_TX_NDESCS; in sfxge_ev_init()
1177 evq0_size = evqX_size + SFXGE_TX_NDESCS; /* only IP checksum TXQ */ in sfxge_ev_init()
1178 evq0_size += SFXGE_TX_NDESCS; /* no checksums */ in sfxge_ev_init()
H A Dsfxge.h195 #define SFXGE_TX_NDESCS 1024 macro
588 #define SFXGE_TXQ_UNBLOCK_LEVEL1 (EFX_TXQ_LIMIT(SFXGE_TX_NDESCS) / 4)