Searched refs:num_pools (Results 1 – 11 of 11) sorted by relevance
145 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 …]
61 static uint32_t num_pools = 8; variable135 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 …]
613 u16 num_pools = hw->iov.num_pools; in fm10k_queues_per_pool() local615 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() local633 return (num_pools > 32) ? 8 : (num_pools > 16) ? 16 : in fm10k_vectors_per_pool()656 u16 num_pools) in fm10k_iov_assign_resources_pf() argument663 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()
701 u16 num_pools; member
140 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++) {
183 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++) {
136 tmp_reg |= (((uint32_t)buf_pool_depletion->num_pools - 1) << in fman_vsp_init()
519 …fm_vsp_params.buf_pool_depletion.num_pools = p_FmVspEntry->p_FmVspEntryDriverParams->p_BufPoolDepl… in FM_VSP_Init()
2931 enum rte_eth_nb_pools num_pools; in txgbe_vmdq_dcb_configure() local2940 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() local3606 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()
3647 enum rte_eth_nb_pools num_pools; in ixgbe_vmdq_dcb_configure() local3656 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() local4333 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()
69 uint8_t num_pools; /**< the number of depleted pools that member