rte_fib_rcu_config(3)
π rte_fib_rcu_config π
okay bestie, welcome to the rte_fib_rcu_config(3) page, from the Library Functions Manual section, no less. this is the struct that tells your FIB how to do its RCU QSBR thing. it's giving "quiet little struct with a lot of opinions" energy and we're gonna go through it field by field, no skipping, periodt. πΈ
β¨ NAME β¨
rte_fib_rcu_config β bestie it's literally just the name up there in lights. that's the whole vibe of this section. π
π SYNOPSIS π
#include <rte_fib.h>
π Data Fields π
struct rte_rcu_qsbr * venum rte_fib_qsbr_mode modeuint32_t dq_sizeuint32_t reclaim_thduint32_t reclaim_max
π Detailed Description π
so. this is the FIB RCU QSBR configuration structure, okay? that's the whole personality. it configures stuff. it's the lil container where you drop your RCU QSBR settings so the FIB knows what's up. π¦
fr fr, it lives at Definition at line 116 of file rte_fib.h, so if you wanna go stare at it in the wild, that's exactly where you find it.
π₯ Field Documentation π₯
π struct rte_rcu_qsbr* v
this is the RCU QSBR variable, bestie. the actual variable. the main character of the RCU situation. β¨
Definition at line 118 of file rte_fib.h.
π§ enum rte_fib_qsbr_mode mode
the mode of RCU QSBR, iykyk. go check out RTE_FIB_QSBR_MODE_xxx for the full menu of options.
Default: RTE_FIB_QSBR_MODE_DQ, which creates a defer queue for reclaim. so if you don't touch it, that's what you're getting. slay. π
Definition at line 122 of file rte_fib.h.
π uint32_t dq_size
the RCU defer queue size. that's it, that's the field.
Default: RTE_FIB_RCU_DQ_RECLAIM_SZ.
Definition at line 126 of file rte_fib.h.
π uint32_t reclaim_thd
the threshold to trigger auto reclaim. hit the threshold and the auto reclaim kicks in, no cap. π
Definition at line 128 of file rte_fib.h.
β uint32_t reclaim_max
the max entries to reclaim in one go. okay so it's not gonna do infinite reclaim in a single pass, there's a cap and this is it.
Default: RTE_FIB_RCU_DQ_RECLAIM_MAX.
Definition at line 132 of file rte_fib.h.
π«Ά Author π«Ά
Generated automatically by Doxygen for DPDK from the source code. so like, nobody hand-wrote this, it just manifested. iconic of it honestly. π
and that's the whole page bestie!! this was DPDK Version 25.11.3, page rte_fib_rcu_config(3), and yes the header line was up there at the top too. go configure your FIB, drink some water, and remember: the defaults are your friends (RTE_FIB_QSBR_MODE_DQ, RTE_FIB_RCU_DQ_RECLAIM_SZ, RTE_FIB_RCU_DQ_RECLAIM_MAX) until proven otherwise. mwah πβ¨
π¦ 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