Home
last modified time | relevance | path

Searched refs:max_num_rules (Results 1 – 3 of 3) sorted by relevance

/f-stack/dpdk/lib/librte_efd/
H A Drte_efd.c237 uint32_t max_num_rules; member
497 rte_efd_create(const char *name, uint32_t max_num_rules, uint32_t key_len, in rte_efd_create() argument
519 if (max_num_rules == 0) { in rte_efd_create()
528 if (max_num_rules % EFD_TARGET_CHUNK_NUM_RULES == 0) in rte_efd_create()
529 num_chunks = rte_align32pow2(max_num_rules / in rte_efd_create()
532 num_chunks = rte_align32pow2((max_num_rules / in rte_efd_create()
579 table->max_num_rules = num_chunks * EFD_TARGET_CHUNK_MAX_NUM_RULES; in rte_efd_create()
587 table->max_num_rules * table->key_len, in rte_efd_create()
601 num_chunks, table->max_num_rules); in rte_efd_create()
697 r = rte_ring_create(ring_name, rte_align32pow2(table->max_num_rules), in rte_efd_create()
[all …]
H A Drte_efd.h141 rte_efd_create(const char *name, uint32_t max_num_rules, uint32_t key_len,
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_flow.c2398 priv->cls_tbl_params.max_num_rules = MRVL_CLS_MAX_NUM_RULES; in mrvl_create_cls_table()