Searched refs:ndmas (Results 1 – 12 of 12) sorted by relevance
/titanic_44/usr/src/uts/common/io/hxge/ |
H A D | hxge_txdma.c | 911 int i, ndmas; in hxge_txdma_hw_mode() local 939 ndmas = tx_rings->ndmas; in hxge_txdma_hw_mode() 940 if (!ndmas) { in hxge_txdma_hw_mode() 947 tx_rings, tx_desc_rings, ndmas)); in hxge_txdma_hw_mode() 950 for (i = 0; i < ndmas; i++) { in hxge_txdma_hw_mode() 1051 int index, ndmas; in hxge_fixup_txdma_rings() local 1067 ndmas = tx_rings->ndmas; in hxge_fixup_txdma_rings() 1068 if (!ndmas) { in hxge_fixup_txdma_rings() 1082 tx_rings, tx_rings->rings, ndmas)); in hxge_fixup_txdma_rings() 1084 for (index = 0; index < ndmas; index++) { in hxge_fixup_txdma_rings() [all …]
|
H A D | hxge_main.c | 1431 uint32_t ndmas, st_rdc; in hxge_alloc_rx_mem_pool() local 1458 ndmas = p_cfgp->max_rdcs; in hxge_alloc_rx_mem_pool() 1461 " hxge_alloc_rx_mem_pool st_rdc %d ndmas %d", st_rdc, ndmas)); in hxge_alloc_rx_mem_pool() 1469 sizeof (p_hxge_dma_common_t) * ndmas, KM_SLEEP); in hxge_alloc_rx_mem_pool() 1474 sizeof (p_hxge_dma_common_t) * ndmas, KM_SLEEP); in hxge_alloc_rx_mem_pool() 1478 sizeof (p_hxge_dma_common_t) * ndmas, KM_SLEEP); in hxge_alloc_rx_mem_pool() 1482 sizeof (p_hxge_dma_common_t) * ndmas, KM_SLEEP); in hxge_alloc_rx_mem_pool() 1484 num_chunks = (uint32_t *)KMEM_ZALLOC(sizeof (uint32_t) * ndmas, in hxge_alloc_rx_mem_pool() 1540 for (i = 0; i < ndmas; i++) { in hxge_alloc_rx_mem_pool() 1562 if (i < ndmas) { in hxge_alloc_rx_mem_pool() [all …]
|
H A D | hxge_rxdma.c | 772 int i, ndmas; in hxge_rxdma_hw_mode() local 802 ndmas = rx_rbr_rings->ndmas; in hxge_rxdma_hw_mode() 803 if (!ndmas) { in hxge_rxdma_hw_mode() 810 "==> hxge_rxdma_mode (ndmas %d)", ndmas)); in hxge_rxdma_hw_mode() 816 for (i = 0; i < ndmas; i++) { in hxge_rxdma_hw_mode() 2256 int i, ndmas; in hxge_map_rxdma() local 2291 ndmas = dma_buf_poolp->ndmas; in hxge_map_rxdma() 2292 if (!ndmas) { in hxge_map_rxdma() 2307 sizeof (p_rx_rbr_ring_t) * ndmas, KM_SLEEP); in hxge_map_rxdma() 2312 sizeof (p_rx_rcr_ring_t) * ndmas, KM_SLEEP); in hxge_map_rxdma() [all …]
|
H A D | hxge_rxdma.h | 458 uint32_t ndmas; member 464 uint32_t ndmas; member 470 uint32_t ndmas; member
|
H A D | hxge_txdma.h | 191 uint32_t ndmas; member
|
H A D | hxge_impl.h | 217 uint32_t ndmas; member
|
/titanic_44/usr/src/uts/common/sys/nxge/ |
H A D | nxge_rxdma.h | 374 uint32_t ndmas; member 380 uint32_t ndmas; member 386 uint32_t ndmas; member
|
H A D | nxge_txdma.h | 214 uint32_t ndmas; member
|
H A D | nxge_impl.h | 598 uint32_t ndmas; member
|
/titanic_44/usr/src/uts/common/io/nxge/ |
H A D | nxge_virtual.c | 1897 int ndmas; in nxge_use_default_dma_config_n2() local 1913 ndmas = NXGE_TDMA_PER_NIU_PORT; in nxge_use_default_dma_config_n2() 1927 ndmas = NXGE_TDMA_PER_NIU_PORT; in nxge_use_default_dma_config_n2() 1934 ndmas = prop_val[1]; in nxge_use_default_dma_config_n2() 1937 ndmas, prop_len)); in nxge_use_default_dma_config_n2() 1947 p_cfgp->tdc.count = ndmas; in nxge_use_default_dma_config_n2() 1955 ndmas = NXGE_RDMA_PER_NIU_PORT; in nxge_use_default_dma_config_n2() 1969 ndmas = NXGE_RDMA_PER_NIU_PORT; in nxge_use_default_dma_config_n2() 1976 ndmas = prop_val[1]; in nxge_use_default_dma_config_n2() 1979 "#rdc %d (#%d)", ndmas, prop_len)); in nxge_use_default_dma_config_n2() [all …]
|
H A D | nxge_rxdma.c | 1349 int ndmas; in nxge_rxdma_fix_channel() local 1377 ndmas = dma_buf_poolp->ndmas; in nxge_rxdma_fix_channel() 1378 if (!ndmas) { in nxge_rxdma_fix_channel() 4125 int i, ndmas; in nxge_rxdma_hw_start() local 4143 ndmas = rx_rbr_rings->ndmas; in nxge_rxdma_hw_start() 4144 if (ndmas == 0) { in nxge_rxdma_hw_start() 4151 "==> nxge_rxdma_hw_start (ndmas %d)", ndmas)); in nxge_rxdma_hw_start() 4163 ndmas, channel)); in nxge_rxdma_hw_start()
|
H A D | nxge_main.c | 2394 dma_poolp->ndmas = p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool() 2400 dma_cntl_poolp->ndmas = p_cfgp->max_rdcs; in nxge_alloc_rx_mem_pool() 2419 nxgep->rx_rbr_rings->ndmas = nxgep->rx_rcr_rings->ndmas = in nxge_alloc_rx_mem_pool() 3066 dma_poolp->ndmas = p_cfgp->tdc.owned; in nxge_alloc_tx_mem_pool() 3073 dma_cntl_poolp->ndmas = p_cfgp->tdc.owned; in nxge_alloc_tx_mem_pool() 3088 nxgep->tx_rings->ndmas = p_cfgp->tdc.owned; in nxge_alloc_tx_mem_pool() 3092 tdc_max, dma_poolp->ndmas)); in nxge_alloc_tx_mem_pool()
|