DPDK  19.08.0-rc0
Data Fields
rte_regex_dev_config Struct Reference

#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
 

Detailed Description

RegEx device configuration structure

Definition at line 522 of file rte_regexdev.h.

Field Documentation

◆ nb_max_matches

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.

See also
struct rte_regex_dev_info::max_matches

Definition at line 523 of file rte_regexdev.h.

◆ nb_queue_pairs

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().

See also
struct rte_regex_dev_info::max_queue_pairs

Definition at line 530 of file rte_regexdev.h.

◆ nb_rules_per_group

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.

See also
struct rte_regex_dev_info::max_rules_per_group

Definition at line 536 of file rte_regexdev.h.

◆ nb_groups

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().

See also
struct rte_regex_dev_info::max_groups

Definition at line 544 of file rte_regexdev.h.

◆ rule_db

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().

See also
rte_regex_rule_db_update(), rte_regex_rule_db_import()

Definition at line 550 of file rte_regexdev.h.

◆ rule_db_len

uint32_t rule_db_len

Length of rule_db buffer.

Definition at line 559 of file rte_regexdev.h.

◆ dev_cfg_flags

uint32_t dev_cfg_flags

RegEx device configuration flags, See RTE_REGEX_DEV_CFG_*

Definition at line 561 of file rte_regexdev.h.


The documentation for this struct was generated from the following file: