| /f-stack/dpdk/drivers/net/i40e/ |
| H A D | i40e_rxtx_vec_common.h | 229 rte_is_power_of_2(desc); in i40e_rx_vec_dev_conf_condition_check_default() 233 rte_is_power_of_2(desc) : in i40e_rx_vec_dev_conf_condition_check_default() 244 ad->rx_vec_allowed = rte_is_power_of_2(desc); in i40e_rx_vec_dev_conf_condition_check_default()
|
| /f-stack/dpdk/lib/librte_hash/ |
| H A D | rte_fbk_hash.c | 94 if ((!rte_is_power_of_2(params->entries)) || in rte_fbk_hash_create() 95 (!rte_is_power_of_2(params->entries_per_bucket)) || in rte_fbk_hash_create()
|
| /f-stack/dpdk/app/test/ |
| H A D | test_common.c | 135 if (rte_is_power_of_2(i + 1)) in test_align() 149 if (rte_is_power_of_2(j + 1)) in test_align() 155 if (!rte_is_power_of_2(p)) in test_align()
|
| /f-stack/dpdk/drivers/net/sfc/ |
| H A D | sfc.c | 823 SFC_ASSERT(rte_is_power_of_2(sa->evq_max_entries)); in sfc_attach() 826 SFC_ASSERT(rte_is_power_of_2(sa->evq_min_entries)); in sfc_attach() 829 SFC_ASSERT(rte_is_power_of_2(sa->rxq_max_entries)); in sfc_attach() 832 SFC_ASSERT(rte_is_power_of_2(sa->rxq_min_entries)); in sfc_attach() 835 SFC_ASSERT(rte_is_power_of_2(sa->txq_max_entries)); in sfc_attach() 838 SFC_ASSERT(rte_is_power_of_2(sa->txq_min_entries)); in sfc_attach()
|
| /f-stack/dpdk/app/test-pipeline/ |
| H A D | config.c | 82 if (!rte_is_power_of_2(app.n_ports)) in app_parse_port_mask()
|
| /f-stack/dpdk/drivers/net/mlx4/ |
| H A D | mlx4_utils.c | 70 } else if (!rte_is_power_of_2(align)) { in mlx4_mallocv_inline()
|
| /f-stack/dpdk/lib/librte_reorder/ |
| H A D | rte_reorder.c | 71 if (!rte_is_power_of_2(size)) { in rte_reorder_init() 119 if (!rte_is_power_of_2(size)) { in rte_reorder_create()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_memzone.c | 98 if (align && !rte_is_power_of_2(align)) { in memzone_reserve_aligned_thread_unsafe() 121 if (bound != 0 && (requested_len > bound || !rte_is_power_of_2(bound))) { in memzone_reserve_aligned_thread_unsafe()
|
| H A D | rte_malloc.c | 65 if (size == 0 || (align && !rte_is_power_of_2(align))) in malloc_socket() 406 page_sz == 0 || !rte_is_power_of_2(page_sz) || in rte_malloc_heap_memory_add()
|
| /f-stack/dpdk/drivers/net/ark/ |
| H A D | ark_mpu.c | 97 if (!rte_is_power_of_2(ring_size)) { in ark_mpu_configure()
|
| /f-stack/dpdk/lib/librte_ip_frag/ |
| H A D | rte_ip_frag_common.c | 53 if (rte_is_power_of_2(bucket_entries) == 0 || in rte_ip_frag_table_create()
|
| /f-stack/dpdk/lib/librte_port/ |
| H A D | rte_port_kni.c | 141 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_kni_writer_create() 318 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_kni_writer_nodrop_create()
|
| H A D | rte_port_fd.c | 173 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_fd_writer_create() 346 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_fd_writer_nodrop_create()
|
| H A D | rte_port_ethdev.c | 144 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_ethdev_writer_create() 325 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_ethdev_writer_nodrop_create()
|
| H A D | rte_port_sym_crypto.c | 169 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_sym_crypto_writer_create() 355 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_sym_crypto_writer_nodrop_create()
|
| H A D | rte_port_eventdev.c | 157 (!rte_is_power_of_2(conf->enq_burst_sz))) { in rte_port_eventdev_writer_create() 364 (!rte_is_power_of_2(conf->enq_burst_sz))) { in rte_port_eventdev_writer_nodrop_create()
|
| H A D | rte_port_sched.c | 142 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_sched_writer_create()
|
| /f-stack/dpdk/lib/librte_table/ |
| H A D | rte_table_array.c | 55 (!rte_is_power_of_2(p->n_entries))) in rte_table_array_create()
|
| H A D | rte_table_hash_lru.c | 116 (!rte_is_power_of_2(params->key_size))) { in check_params_create() 129 (!rte_is_power_of_2(params->n_buckets))) { in check_params_create() 156 (!rte_is_power_of_2(entry_size)) || in rte_table_hash_lru_create()
|
| H A D | rte_table_hash_ext.c | 139 (!rte_is_power_of_2(params->key_size))) { in check_params_create() 152 (!rte_is_power_of_2(params->n_buckets))) { in check_params_create() 179 (!rte_is_power_of_2(entry_size)) || in rte_table_hash_ext_create()
|
| /f-stack/dpdk/drivers/net/ionic/ |
| H A D | ionic_dev.c | 366 if (!rte_is_power_of_2(num_descs) || in ionic_cq_init() 426 if (desc_size == 0 || !rte_is_power_of_2(num_descs)) in ionic_q_init()
|
| /f-stack/dpdk/drivers/raw/ioat/ |
| H A D | ioat_common.c | 152 if (!rte_is_power_of_2(max_desc)) in idxd_dev_configure()
|
| H A D | ioat_rawdev.c | 52 !rte_is_power_of_2(params->ring_size)) in ioat_dev_configure()
|
| /f-stack/dpdk/drivers/net/iavf/ |
| H A D | iavf_rxtx_vec_common.h | 218 if (!rte_is_power_of_2(rxq->nb_rx_desc)) in iavf_rx_vec_queue_default()
|
| /f-stack/dpdk/drivers/net/ice/ |
| H A D | ice_rxtx_vec_common.h | 251 if (!rte_is_power_of_2(rxq->nb_rx_desc)) in ice_rx_vec_queue_default()
|