DEFAULT_ACTION_IS_CONST(3)

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

πŸ’… NAME πŸ’…

rte_swx_ctl_learner_info β€” ok bestie, this is the little struct that spills all the tea about a learner table πŸ«–βœ¨


✨ SYNOPSIS ✨

#include <rte_swx_ctl.h>

πŸŽ€ Data Fields πŸŽ€

Here's the whole squad, in order, no cap:

  • char name [RTE_SWX_CTL_NAME_SIZE]
  • uint32_t n_match_fields
  • uint32_t n_actions
  • int default_action_is_const
  • uint32_t size
  • uint32_t n_key_timeouts

🌸 Detailed Description 🌸

So basically: learner table info. That's it, that's the vibe πŸ’–

It's defined at line 542 of the file rte_swx_ctl.h β€” remember that, there's gonna be a quiz (jk, but like, write it down) πŸ“


πŸ¦‹ Field Documentation πŸ¦‹

πŸ“ char name[RTE_SWX_CTL_NAME_SIZE]

The learner table's name, like its whole government name πŸ’…

Definition at line 544 of file rte_swx_ctl.h.

πŸ“ uint32_t n_match_fields

How many match fields there are. Count 'em πŸ‘‘

Definition at line 547 of file rte_swx_ctl.h.

πŸ“ uint32_t n_actions

How many actions there are. Yes, a separate count, she's thorough ✨

Definition at line 550 of file rte_swx_ctl.h.

πŸ“ int default_action_is_const

Okay this one's the main character and you need to get it right, so listen up:

  • Non-zero (true) means the default action is constant β€” therefore it cannot be changed. Locked. Sealed. Not taking questions πŸ™…β€β™€οΈ
  • Zero (false) means the default action is not constant β€” therefore it can be changed. Go off, edit her πŸ’ƒ

Definition at line 556 of file rte_swx_ctl.h.

πŸ“ uint32_t size

The learner table size parameter. Just the size, living her life 🌈

Definition at line 559 of file rte_swx_ctl.h.

πŸ“ uint32_t n_key_timeouts

Number of possible key timeout values β€” like how many different expiration moods a key can have 😭⏰

Definition at line 562 of file rte_swx_ctl.h.


πŸ’œ Author πŸ’œ

Generated automatically by Doxygen for DPDK from the source code. Not me, not you, a robot did this. Iconic honestly πŸ€–βœ¨


Heads up bestie: this page is auto-generated from the source code, so if something looks weird, blame the generator, not me πŸ’€

And that's the whole page, mwah πŸ’‹ β€” written for DPDK Version 26.03.0, in the rte_swx_ctl_learner_info(3) era, dated accordingly. Slay, go read your structs πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from