DPDK 22.11.6
|
#include <rte_regexdev.h>
Data Fields | |
uint16_t | nb_max_matches |
uint16_t | nb_queue_pairs |
uint32_t | nb_rules_per_group |
uint16_t | nb_groups |
const char * | rule_db |
uint32_t | rule_db_len |
uint32_t | dev_cfg_flags |
RegEx device configuration structure
Definition at line 682 of file rte_regexdev.h.
uint16_t nb_max_matches |
Maximum matches per scan configured on this device. This value cannot exceed the max_matches which previously provided in rte_regexdev_info_get(). The value 0 is allowed, in which case, value 1 used.
Definition at line 683 of file rte_regexdev.h.
uint16_t nb_queue_pairs |
Number of RegEx queue pairs to configure on this device. This value cannot exceed the max_queue_pairs which previously provided in rte_regexdev_info_get().
Definition at line 690 of file rte_regexdev.h.
uint32_t nb_rules_per_group |
Number of rules per group to configure on this device. This value cannot exceed the max_rules_per_group which previously provided in rte_regexdev_info_get(). The value 0 is allowed, in which case, struct rte_regexdev_info::max_rules_per_group used.
Definition at line 696 of file rte_regexdev.h.
uint16_t nb_groups |
Number of groups to configure on this device. This value cannot exceed the max_groups which previously provided in rte_regexdev_info_get().
Definition at line 704 of file rte_regexdev.h.
const char* rule_db |
Import initial set of prebuilt rule database on this device. The value NULL is allowed, in which case, the device will not be configured prebuilt rule database. Application may use rte_regexdev_rule_db_update() or rte_regexdev_rule_db_import() API to update or import rule database after the rte_regexdev_configure().
Definition at line 710 of file rte_regexdev.h.
uint32_t rule_db_len |
Length of rule_db buffer.
Definition at line 719 of file rte_regexdev.h.
uint32_t dev_cfg_flags |
RegEx device configuration flags, See RTE_REGEXDEV_CFG_*
Definition at line 721 of file rte_regexdev.h.