RTE_SWX_CTL_LEARNER_INFO(3)
π rte_swx_ctl_learner_info π
okay bestie, so this one lives in the rte_swx_ctl manual (section 3, the library functions girly) and honestly? it's giving struct energy. no functions here, just vibes and fields. it's literally a little info box about a learner table. that's it, that's the whole page. slay. β¨
πΈ SYNOPSIS πΈ
#include <rte_swx_ctl.h>
π Data Fields
char name [RTE_SWX_CTL_NAME_SIZE]uint32_t n_match_fieldsuint32_t n_actionsint default_action_is_constuint32_t sizeuint32_t n_key_timeouts
π¦ DETAILED DESCRIPTION π¦
so like, this is the Learner table info. it's a struct that holds the tea about a learner table. that's the vibe check, periodt.
π
for the record, this is defined at line 542 of the file rte_swx_ctl.h.
π FIELD DOCUMENTATION π
π char name[RTE_SWX_CTL_NAME_SIZE]
the learner table's name. iconic. it's got RTE_SWX_CTL_NAME_SIZE to work with, so no need to stress about the length (well β it's a fixed-size char array, so do stress a lil bit, but that's a you problem π«Ά).
Defined at line 544 of the file rte_swx_ctl.h.
π uint32_t n_match_fields
how many match fields there are. counting them is literally this field's whole job. no cap.
Defined at line 547 of the file rte_swx_ctl.h.
π uint32_t n_actions
number of actions. ated. π₯
Defined at line 550 of the file rte_swx_ctl.h.
π int default_action_is_const
okay this one's important, listen up π’ β non-zero (true) means the default action is constant, so bestie, you cannot change it. zero (false) means the default action is not constant, so you can change it. that's the whole personality of this field.
Defined at line 556 of the file rte_swx_ctl.h.
π uint32_t size
the learner table's size parameter. yes, it is just named size. very main character, very minimal, we love her for that. π
Defined at line 559 of the file rte_swx_ctl.h.
π uint32_t n_key_timeouts
the number of possible key timeout values. so many options, so little time (literally). β³β¨
Defined at line 562 of the file rte_swx_ctl.h.
βοΈ AUTHOR βοΈ
generated automatically by Doxygen for DPDK, straight from the source code. not a human author in sight, it just spawned like that. π
and that's the whole page, bestie! π this lil cutie is part of DPDK, Version 25.11.3. go forth and counter, iykyk ππ¦β¨
π¦ 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