Home
last modified time | relevance | path

Searched refs:num_pools (Results 1 – 11 of 11) sorted by relevance

/f-stack/dpdk/examples/vmdq_dcb/
H A Dmain.c145 conf.nb_pool_maps = num_pools; in get_eth_conf()
146 vmdq_conf.nb_pool_maps = num_pools; in get_eth_conf()
218 if (num_pools > max_nb_pools) { in port_init()
220 num_pools, max_nb_pools); in port_init()
238 num_tcs, num_pools, num_vmdq_queues); in port_init()
253 num_pools, queues_per_pool); in port_init()
353 for (q = 0; q < num_pools; q++) { in port_init()
389 num_pools = ETH_16_POOLS; in vmdq_parse_num_pools()
391 num_pools = ETH_32_POOLS; in vmdq_parse_num_pools()
533 if (q % (num_vmdq_queues / num_pools) == 0) in sighup_handler()
[all …]
/f-stack/dpdk/examples/vmdq/
H A Dmain.c61 static uint32_t num_pools = 8; variable
135 conf.nb_pool_maps = num_pools; in get_eth_conf()
141 conf.pool_map[i].pools = (1UL << (i % num_pools)); in get_eth_conf()
193 if (num_pools > max_nb_pools) { in port_init()
195 num_pools, max_nb_pools); in port_init()
208 num_vmdq_queues = num_pools * queues_per_pool; in port_init()
215 num_pf_queues, num_pools, queues_per_pool); in port_init()
320 for (q = 0; q < num_pools; q++) { in port_init()
353 if (num_pools > num_vlans) { in vmdq_parse_num_pools()
358 num_pools = n; in vmdq_parse_num_pools()
[all …]
/f-stack/dpdk/drivers/net/fm10k/base/
H A Dfm10k_pf.c613 u16 num_pools = hw->iov.num_pools; in fm10k_queues_per_pool() local
615 return (num_pools > 32) ? 2 : (num_pools > 16) ? 4 : (num_pools > 8) ? in fm10k_queues_per_pool()
631 u16 num_pools = hw->iov.num_pools; in fm10k_vectors_per_pool() local
633 return (num_pools > 32) ? 8 : (num_pools > 16) ? 16 : in fm10k_vectors_per_pool()
656 u16 num_pools) in fm10k_iov_assign_resources_pf() argument
663 if (num_pools > 64) in fm10k_iov_assign_resources_pf()
667 if ((num_vfs > num_pools) || (num_vfs > hw->iov.total_vfs)) in fm10k_iov_assign_resources_pf()
672 hw->iov.num_pools = num_pools; in fm10k_iov_assign_resources_pf()
H A Dfm10k_type.h701 u16 num_pools; member
/f-stack/dpdk/doc/guides/sample_app_ug/
H A Dvmdq_forwarding.rst140 get_eth_conf(struct rte_eth_conf *eth_conf, uint32_t num_pools)
145 conf.nb_queue_pools = (enum rte_eth_nb_pools)num_pools;
146 conf.nb_pool_maps = num_pools;
152 conf.pool_map[i].pools = (1UL << (i % num_pools));
168 for (q = 0; q < num_pools; q++) {
H A Dvmdq_dcb_forwarding.rst183 conf.nb_queue_pools = (enum rte_eth_nb_pools)num_pools;
184 vmdq_conf.nb_queue_pools = (enum rte_eth_nb_pools)num_pools;
185 tx_conf.nb_queue_pools = (enum rte_eth_nb_pools)num_pools;
186 conf.nb_pool_maps = num_pools;
187 vmdq_conf.nb_pool_maps = num_pools;
227 for (q = 0; q < num_pools; q++) {
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/SP/
H A Dfman_sp.c136 tmp_reg |= (((uint32_t)buf_pool_depletion->num_pools - 1) << in fman_vsp_init()
H A Dfm_sp.c519 …fm_vsp_params.buf_pool_depletion.num_pools = p_FmVspEntry->p_FmVspEntryDriverParams->p_BufPoolDepl… in FM_VSP_Init()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c2931 enum rte_eth_nb_pools num_pools; in txgbe_vmdq_dcb_configure() local
2940 num_pools = cfg->nb_queue_pools; in txgbe_vmdq_dcb_configure()
2942 if (num_pools != ETH_16_POOLS && num_pools != ETH_32_POOLS) { in txgbe_vmdq_dcb_configure()
2947 nb_tcs = (uint8_t)(ETH_VMDQ_DCB_NUM_QUEUES / (int)num_pools); in txgbe_vmdq_dcb_configure()
2970 if (num_pools == ETH_16_POOLS) { in txgbe_vmdq_dcb_configure()
3010 num_pools == ETH_16_POOLS ? 0xFFFF : 0xFFFFFFFF); in txgbe_vmdq_dcb_configure()
3598 enum rte_eth_nb_pools num_pools; in txgbe_vmdq_rx_hw_configure() local
3606 num_pools = cfg->nb_queue_pools; in txgbe_vmdq_rx_hw_configure()
3623 for (i = 0; i < (int)num_pools; i++) { in txgbe_vmdq_rx_hw_configure()
3639 if (num_pools == ETH_64_POOLS) in txgbe_vmdq_rx_hw_configure()
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx.c3647 enum rte_eth_nb_pools num_pools; in ixgbe_vmdq_dcb_configure() local
3656 num_pools = cfg->nb_queue_pools; in ixgbe_vmdq_dcb_configure()
3658 if (num_pools != ETH_16_POOLS && num_pools != ETH_32_POOLS) { in ixgbe_vmdq_dcb_configure()
3663 nb_tcs = (uint8_t)(ETH_VMDQ_DCB_NUM_QUEUES / (int)num_pools); in ixgbe_vmdq_dcb_configure()
3697 mrqc = (num_pools == ETH_16_POOLS) ? in ixgbe_vmdq_dcb_configure()
3737 num_pools == ETH_16_POOLS ? 0xFFFF : 0xFFFFFFFF); in ixgbe_vmdq_dcb_configure()
4325 enum rte_eth_nb_pools num_pools; in ixgbe_vmdq_rx_hw_configure() local
4333 num_pools = cfg->nb_queue_pools; in ixgbe_vmdq_rx_hw_configure()
4350 for (i = 0; i < (int)num_pools; i++) { in ixgbe_vmdq_rx_hw_configure()
4366 if (num_pools == ETH_64_POOLS) in ixgbe_vmdq_rx_hw_configure()
/f-stack/freebsd/contrib/ncsw/inc/flib/
H A Dfsl_fman.h69 uint8_t num_pools; /**< the number of depleted pools that member