Home
last modified time | relevance | path

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

/titanic_41/usr/src/uts/sun4v/sys/
H A Dvnet_gen.h178 ((i) = (((i) + 1) & ((ldcp)->num_txds - 1)))
182 ((i) = (((i) - 1) & ((ldcp)->num_txds - 1)))
190 (((i) >= 0) && ((i) < (ldcp)->num_txds))
307 uint32_t num_txds; /* # of descriptors */ member
/titanic_41/usr/src/uts/sun4v/io/
H A Dvnet_txdring.c142 ldcp->num_txds = vnet_num_descriptors; in vgen_create_tx_dring()
147 tbufp = kmem_zalloc(ldcp->num_txds * tbufsize, KM_NOSLEEP); in vgen_create_tx_dring()
152 ldcp->tbufendp = &((ldcp->tbufp)[ldcp->num_txds]); in vgen_create_tx_dring()
155 rv = ldc_mem_dring_create(ldcp->num_txds, txdsize, in vgen_create_tx_dring()
192 ldcp->tx_data_sz = (data_sz * ldcp->num_txds) + VNET_8K; in vgen_create_tx_dring()
206 for (i = 0; i < ldcp->num_txds; i++) { in vgen_create_tx_dring()
310 for (i = 0; i < ldcp->num_txds; i++) { in vgen_destroy_tx_dring()
341 kmem_free(ldcp->tbufp, ldcp->num_txds * tbufsize); in vgen_destroy_tx_dring()
H A Dvnet_rxdring.c401 ldcp->num_txds = num_desc; in vgen_map_tx_dring()
496 ldcp->num_txds = 0; in vgen_unmap_tx_dring()
H A Dvnet_gen.c3616 ldcp->local_hparams.num_desc = ldcp->num_txds; in vgen_handshake_phase3()