rte_acl_config(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… NAME πŸ’…

rte_acl_config β€” bestie, this is the struct you fill out when you wanna build an ACL trie πŸŽ€


✨ 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 πŸ’–

okay so listen β€” this is the ACL build config, and it's lowkey doing a lot of the heavy lifting 🫢 It defines the fields of an ACL trie and how many categories you're building with. That's the whole vibe: the shape of your trie + the category count. Slay.

fr fr, this is defined at line 64 of file rte_acl.h β€” that's the receipts, no cap πŸ’…

πŸ‘‘ Field Documentation πŸ‘‘

πŸ’œ uint32_t num_categories

The number of categories to build with. literally that. that's the whole field πŸ¦‹

Defined at line 65 of file rte_acl.h.

🌈 uint32_t num_fields

How many field definitions you're giving it 🌸 so it knows how many of the defs entries to actually look at, bestie.

Defined at line 66 of file rte_acl.h.

πŸŽ€ struct rte_acl_field_def defs[RTE_ACL_MAX_FIELDS]

An array of field definitions β€” the actual menu of fields your ACL trie is built from ✨ accordingly, this is the main character of the struct tbh.

Defined at line 67 of file rte_acl.h.

⭐ size_t max_size

The max memory limit for internal run-time structures 🧚 it's giving "budget" and honestly? respect. keep your internal run-time structures from eating the whole machine.

Defined at line 69 of file rte_acl.h.


πŸ¦‹ Author πŸ¦‹

Generated automatically by Doxygen for DPDK from the source code. so not a human, a robot, and honestly it ATE πŸ˜­πŸ’–


and that's the page, bestie!! this one's from DPDK, Version 26.03.0 β€” rte_acl_config(3), mwah, periodt πŸ’…βœ¨

πŸ“¦ where this page comes from