rte_regexdev_config(3)
π rte_regexdev_config(3) π
okay bestie, so this is a library functions manual page for rte_regexdev_config β it's the whole lore on the RegEx device configuration struct. it lives in rte_regexdev.h and it's basically the lil form you fill out to tell a RegEx device how you want it set up. no cap, let's get into it. β¨
πΈ NAME πΈ
rte_regexdev_config β the RegEx device configuration structure, and the star of this whole page π
β¨ SYNOPSIS β¨
#include <rte_regexdev.h>
π¦ Data Fields π¦
uint16_t nb_max_matchesuint16_t nb_queue_pairsuint32_t nb_rules_per_groupuint16_t nb_groupsconst char * rule_dbuint32_t rule_db_lenuint32_t dev_cfg_flags
π Detailed Description π
it's a RegEx device configuration structure π«Ά
Definition at line 679 of file rte_regexdev.h.
π Field Documentation π
β uint16_t nb_max_matches
the max matches per scan you're configuring on this device, babe. this value cannot exceed the max_matches that you previously handed over in rte_regexdev_info_get(). and yes, the value 0 is allowed β in that case, the value 1 is used. so if you thought 0 meant "none", nope, it means one. π
See also
struct rte_regexdev_info::max_matches
Definition at line 680 of file rte_regexdev.h.
β uint16_t nb_queue_pairs
how many RegEx queue pairs you want configured on this device. this value cannot exceed the max_queue_pairs which you previously provided in rte_regexdev_info_get(). that's the vibe check β stay under the ceiling fr fr. π
See also
struct rte_regexdev_info::max_queue_pairs
Definition at line 687 of file rte_regexdev.h.
β uint32_t nb_rules_per_group
how many rules per group you're configuring on this device. this value cannot exceed the max_rules_per_group which you previously provided in rte_regexdev_info_get(). and the value 0 is allowed here too β in which case, struct rte_regexdev_info::max_rules_per_group is used. so 0 is giving "girl just use the default" and honestly? iconic. π
See also
struct rte_regexdev_info::max_rules_per_group
Definition at line 693 of file rte_regexdev.h.
β uint16_t nb_groups
how many groups you're configuring on this device. this value cannot exceed the max_groups which you previously provided in rte_regexdev_info_get(). keep it in range bestie. π
See also
struct rte_regexdev_info::max_groups
Definition at line 701 of file rte_regexdev.h.
β const char* rule_db
this one imports the initial set of prebuilt rule database onto this device. the value NULL is allowed β in which case, the device will not be configured with a prebuilt rule database. and don't stress, your application may use rte_regexdev_rule_db_update() or rte_regexdev_rule_db_import() API to update or import the rule database after the rte_regexdev_configure(). see? you have options. we love options. π¦
See also
rte_regexdev_rule_db_update()rte_regexdev_rule_db_import()
Definition at line 707 of file rte_regexdev.h.
β uint32_t rule_db_len
the length of the rule_db buffer. short and sweet, that's all she said. π
Definition at line 716 of file rte_regexdev.h.
β uint32_t dev_cfg_flags
the RegEx device configuration flags β See RTE_REGEXDEV_CFG_* for the deets. π
Definition at line 718 of file rte_regexdev.h.
π«Ά Author π«Ά
Generated automatically by Doxygen for DPDK from the source code. (not a human, just a very diligent robot doing its lil thing π§)
and that's the whole page bestie, slay. this gorgeous lil doc is from DPDK, Version 25.11.3, no cap π periodt β¨
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms