rte_regexdev_qp_conf(3)

✨ rte_regexdev_qp_conf ✨

okay bestie, gather round, because we're talking about rte_regexdev_qp_conf β€” that's a section 3 (library functions) situation, from the <rte_regexdev.h> cinematic universe πŸ’…


🌸 NAME 🌸

rte_regexdev_qp_conf β€” the struct that holds your RegEx queue pair configuration, and yes she is iconic for it πŸ‘‘


πŸŽ€ SYNOPSIS πŸŽ€

#include <rte_regexdev.h>

πŸ’– Data Fields πŸ’–

  • uint32_t qp_conf_flags
  • uint16_t nb_desc
  • regexdev_stop_flush_t cb

πŸ¦‹ Detailed Description πŸ¦‹

It's giving... RegEx queue pair configuration structure. That's the whole vibe. She exists so you can tell your queue pair how to be set up 🫢

Definition at line 766 of file rte_regexdev.h.

⭐ Field Documentation ⭐

🌈 uint32_t qp_conf_flags

Queue pair config flags, bestie. See RTE_REGEX_QUEUE_PAIR_CFG_* for the full menu of options β€” that's where the lore lives πŸ”₯

Definition at line 767 of file rte_regexdev.h.

πŸ“ uint16_t nb_desc

The number of descriptors to allocate for this queue pair. Yes, nb_desc literally stands for number of descriptors, and the way that it just... does exactly what it says? ate πŸ’€

Definition at line 769 of file rte_regexdev.h.

🧚 regexdev_stop_flush_t cb

Callback function called during rte_regexdev_stop(), invoked once per flushed regex op. The value NULL is allowed, in which case the callback will not be invoked β€” no callback, no problem, she'll just skip right past it πŸ™ˆ

This function can be used to properly dispose of outstanding regex ops from response queue, for example ops containing memory pointers. So like, if you've got ops holding onto memory pointers and you don't want them just floating around forever (which would be lowkey tragic), this is your girl for the cleanup ✨

See also

  • rte_regexdev_stop()
Definition at line 771 of file rte_regexdev.h.

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not a human, not a vibe curator, just Doxygen doing her thing πŸ€–πŸ’œ


and that's the whole page, periodt πŸ’… this little beauty is from DPDK, version 25.11.3, and if you ever need her again she's living at rte_regexdev_qp_conf(3). mwah, go configure those queue pairs bestie πŸŽ€βœ¨

πŸ“¦ where this page comes from