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 * name
  • uint32_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