rte_swx_field_params(3)
π rte_swx_field_params π
okay bestie, welcome to the rte_swx_field_params page from the Library Functions Manual β yes it's a whole struct and yes it's lowkey iconic. let's get into it π«Ά
β¨ NAME β¨
rte_swx_field_params β the little struct that describes one field, and she's serving exactly what her name says π
β¨ SYNOPSIS β¨
#include <rte_swx_pipeline.h>
πΈ Data Fields πΈ
const char * nameuint32_t n_bits
π Detailed Description π
It's a structure (struct) field, fr fr. That's the whole vibe.
Definition at line 382 of file rte_swx_pipeline.h.
π Field Documentation π
π const char* name
Struct field name. literally just the name of the field, no cap.
Definition at line 384 of file rte_swx_pipeline.h.
π¦ uint32_t n_bits
Struct field size β and we measure it in bits, periodt.
π¨ Restriction: All struct fields must be a multiple of 8 bits. π¨ Restriction: All struct fields must be no greater than 64 bits.
so like, 8, 16, 24, 32, 40, 48, 56, 64 β those kinds of numbers. not 7, not 100. she has rules and she's sticking to them π
Definition at line 390 of file rte_swx_pipeline.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. (so technically a robot wrote this, but the robot ate β¨)
that's the whole page, bestie!! now go forth and define your struct fields correctly, because the vibe check on n_bits is real and non-negotiable πβ¨ππ¦πΈπ
π«Ά
mwah π this was brought to you by DPDK, Version 25.11.3 β see you in the next manpage, ily, bye!! ππ§π
π¦ 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