DPDK
19.08.0-rc0
|
#include <rte_regexdev.h>
Data Fields | |
uint8_t | nb_max_matches |
uint16_t | nb_queue_pairs |
uint16_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 522 of file rte_regexdev.h.
uint8_t nb_max_matches |
Maximum matches per scan configured on this device. This value cannot exceed the max_matches which previously provided in rte_regex_dev_info_get(). The value 0 is allowed, in which case, value 1 used.
Definition at line 523 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_regex_dev_info_get().
Definition at line 530 of file rte_regexdev.h.
uint16_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_regex_dev_info_get(). The value 0 is allowed, in which case, struct rte_regex_dev_info::max_rules_per_group used.
Definition at line 536 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_regex_dev_info_get().
Definition at line 544 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_regex_rule_db_update() or rte_regex_rule_db_import() API to update or import rule database after the rte_regex_dev_configure().
Definition at line 550 of file rte_regexdev.h.
uint32_t rule_db_len |
Length of rule_db buffer.
Definition at line 559 of file rte_regexdev.h.
uint32_t dev_cfg_flags |
RegEx device configuration flags, See RTE_REGEX_DEV_CFG_*
Definition at line 561 of file rte_regexdev.h.