rte_acl_config(3)

πŸ’– rte_acl_config πŸ’–

okay bestie, so this is a page from the rte_acl_config(3) manual β€” yes, section 3, the library functions girlies πŸ’… β€” and it's literally all about one lil' struct that tells the ACL machinery how to build your trie. no cap, it's giving "config brain" energy. let's get into it 🧚


✨ SYNOPSIS ✨

#include <rte_acl.h>

🌸 Data Fields 🌸

  • uint32_t num_categories
  • uint32_t num_fields
  • struct rte_acl_field_def defs [RTE_ACL_MAX_FIELDS]
  • size_t max_size

πŸŽ€ Detailed Description πŸŽ€

so. this is the ACL build configuration struct, and honestly? she's the blueprint πŸ‘‘

she defines the fields of an ACL trie and how many categories you're building with. that's the whole vibe. that's the job. lowkey iconic.

fr fr: she lives at Definition at line 64 of file rte_acl.h. πŸ“

🫢 Field Documentation 🫢

uint32_t num_categories

literally just the number of categories to build with. that's it, that's the field πŸ’«

Definition at line 65 of file rte_acl.h.

uint32_t num_fields

the number of field definitions. count 'em, bestie πŸ”’

Definition at line 66 of file rte_acl.h.

struct rte_acl_field_def defs[RTE_ACL_MAX_FIELDS]

your array of field definitions β€” the whole squad, up to RTE_ACL_MAX_FIELDS of them 🌈

Definition at line 67 of file rte_acl.h.</purpose>

size_t max_size

the max memory limit for internal run-time structures. she's the budget, the cap, the limit β€” respect her πŸ’€

Definition at line 69 of file rte_acl.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. no human wrote this, she was born fully formed ✨


and that's the whole page, bestie β€” go build your trie and slay πŸ’–πŸ¦‹

this lil' gem came to you from DPDK, Version 25.11.3, courtesy of the rte_acl_config(3) manual page. mwah πŸ’‹ periodt.
πŸ“¦ where this page comes from