Home
last modified time | relevance | path

Searched refs:rte_is_power_of_2 (Results 1 – 25 of 86) sorted by relevance

1234

/dpdk/drivers/net/i40e/
H A Di40e_rxtx_vec_common.h244 rte_is_power_of_2(desc); in i40e_rx_vec_dev_conf_condition_check_default()
248 rte_is_power_of_2(desc) : in i40e_rx_vec_dev_conf_condition_check_default()
259 ad->rx_vec_allowed = rte_is_power_of_2(desc); in i40e_rx_vec_dev_conf_condition_check_default()
/dpdk/lib/hash/
H A Drte_fbk_hash.c88 if ((!rte_is_power_of_2(params->entries)) || in rte_fbk_hash_create()
89 (!rte_is_power_of_2(params->entries_per_bucket)) || in rte_fbk_hash_create()
/dpdk/app/test/
H A Dtest_common.c139 if (rte_is_power_of_2(i + 1)) in test_align()
153 if (rte_is_power_of_2(j + 1)) in test_align()
159 if (!rte_is_power_of_2(p)) in test_align()
/dpdk/drivers/net/sfc/
H A Dsfc.c942 SFC_ASSERT(rte_is_power_of_2(sa->evq_max_entries)); in sfc_attach()
945 SFC_ASSERT(rte_is_power_of_2(sa->evq_min_entries)); in sfc_attach()
948 SFC_ASSERT(rte_is_power_of_2(sa->rxq_max_entries)); in sfc_attach()
951 SFC_ASSERT(rte_is_power_of_2(sa->rxq_min_entries)); in sfc_attach()
954 SFC_ASSERT(rte_is_power_of_2(sa->txq_max_entries)); in sfc_attach()
957 SFC_ASSERT(rte_is_power_of_2(sa->txq_min_entries)); in sfc_attach()
/dpdk/lib/reorder/
H A Drte_reorder.c70 if (!rte_is_power_of_2(size)) { in rte_reorder_init()
118 if (!rte_is_power_of_2(size)) { in rte_reorder_create()
/dpdk/app/test-pipeline/
H A Dconfig.c81 if (!rte_is_power_of_2(app.n_ports)) in app_parse_port_mask()
/dpdk/drivers/net/mlx4/
H A Dmlx4_utils.c70 } else if (!rte_is_power_of_2(align)) { in mlx4_mallocv_inline()
H A Dmlx4_rxq.c183 if (!rte_is_power_of_2(RTE_DIM(ind_tbl))) { in mlx4_rss_attach()
514 MLX4_ASSERT(rte_is_power_of_2(elts_n)); in mlx4_rxq_attach()
/dpdk/lib/eal/common/
H A Deal_common_memzone.c106 if (align && !rte_is_power_of_2(align)) { in memzone_reserve_aligned_thread_unsafe()
129 if (bound != 0 && (requested_len > bound || !rte_is_power_of_2(bound))) { in memzone_reserve_aligned_thread_unsafe()
H A Drte_malloc.c60 if (size == 0 || (align && !rte_is_power_of_2(align))) in malloc_socket()
415 page_sz == 0 || !rte_is_power_of_2(page_sz) || in rte_malloc_heap_memory_add()
/dpdk/drivers/net/ionic/
H A Dionic_dev.c363 if (!rte_is_power_of_2(num_descs) || in ionic_cq_init()
412 if (!rte_is_power_of_2(num_descs)) in ionic_q_init()
/dpdk/lib/port/
H A Drte_port_kni.c140 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_kni_writer_create()
317 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_kni_writer_nodrop_create()
H A Drte_port_fd.c173 (!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 Drte_port_ethdev.c144 (!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 Drte_port_sym_crypto.c169 (!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 Drte_port_eventdev.c157 (!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 Drte_port_sched.c141 (!rte_is_power_of_2(conf->tx_burst_sz))) { in rte_port_sched_writer_create()
/dpdk/drivers/net/ark/
H A Dark_mpu.c98 if (!rte_is_power_of_2(ring_size)) { in ark_mpu_configure()
/dpdk/lib/ip_frag/
H A Drte_ip_frag_common.c52 if (rte_is_power_of_2(bucket_entries) == 0 || in rte_ip_frag_table_create()
/dpdk/lib/table/
H A Drte_table_array.c53 (!rte_is_power_of_2(p->n_entries))) in rte_table_array_create()
H A Drte_table_hash_lru.c114 (!rte_is_power_of_2(params->key_size))) { in check_params_create()
127 (!rte_is_power_of_2(params->n_buckets))) { in check_params_create()
154 (!rte_is_power_of_2(entry_size)) || in rte_table_hash_lru_create()
H A Drte_table_hash_ext.c137 (!rte_is_power_of_2(params->key_size))) { in check_params_create()
150 (!rte_is_power_of_2(params->n_buckets))) { in check_params_create()
177 (!rte_is_power_of_2(entry_size)) || in rte_table_hash_ext_create()
/dpdk/drivers/raw/ioat/
H A Dioat_common.c141 if (!rte_is_power_of_2(max_desc)) in idxd_dev_configure()
H A Dioat_rawdev.c52 !rte_is_power_of_2(params->ring_size)) in ioat_dev_configure()
/dpdk/lib/member/
H A Drte_member_vbf.c33 !rte_is_power_of_2(params->num_set) || in rte_member_create_vbf()

1234