rte_swx_table_ops(3)
โจ rte_swx_table_ops โจ
okay bestie, welcome to the manual page for rte_swx_table_ops(3) ๐
this one lives in the Library Functions Manual, and it's literally the struct that holds all the function pointers for a table โ the whole ops squad. no cap, every single field is here, so let's get into it ๐ซถ
๐ธ NAME ๐ธ
rte_swx_table_ops โ the table operations struct, bestie. that's it, that's the name โจ
๐ SYNOPSIS ๐
#include <rte_swx_table.h>
๐ Data Fields ๐
rte_swx_table_footprint_get_tfootprint_getrte_swx_table_mailbox_size_get_tmailbox_size_getrte_swx_table_create_tcreaterte_swx_table_add_taddrte_swx_table_delete_tdelrte_swx_table_lookup_tlkprte_swx_table_free_tfree
๐ Detailed Description ๐
Table operations. that's the whole glow-up summary fr fr ๐ซ
๐ Defined at line 284 of file rte_swx_table.h. yes bestie, we cite our sources in this house ๐
๐ฆ Field Documentation ๐ฆ
๐ rte_swx_table_footprint_get_t footprint_get
Table memory footprint get โ it tells you how much memory the table is eating, like a little scale for your table's vibe check ๐ธ
Set to NULL when not supported. so if it's null, that feature just isn't a thing here, no hard feelings ๐
๐ Definition at line 286 of file rte_swx_table.h.
๐ฌ rte_swx_table_mailbox_size_get_t mailbox_size_get
Table mailbox size get โ it reports how big the mailbox is ๐ฎ
WhenNULL, the mailbox size is0. zero, nada, empty inbox energy ๐ซโจ
๐ Definition at line 289 of file rte_swx_table.h.
๐ rte_swx_table_create_t create
Table create. this one is the moment, the main character, the whole point ๐
Must be non-NULL. non-negotiable bestie, you literally cannot skip this one ๐
๐ Definition at line 292 of file rte_swx_table.h.
โ rte_swx_table_add_t add
Incremental table entry add โ it slides a new entry into the table like it's joining the group chat ๐ซถ
Set to NULL when not supported, in which case the existing table has to be destroyed and a new table built from scratch with the new entry included. yes that means full rebuild, dramatic but true ๐ญ
๐ Definition at line 298 of file rte_swx_table.h.
โ rte_swx_table_delete_t del
Incremental table entry delete โ it ghosts an entry out of the table ๐ป
Set to NULL when not supported, in which case the existing table has to be destroyed and a new table built from scratch with the entry excluded. again: full rebuild, from zero, no shortcuts ๐ฅ
๐ Definition at line 304 of file rte_swx_table.h.
๐ rte_swx_table_lookup_t lkp
Table lookup โ it goes hunting for an entry and comes back with the tea ๐
Must be non-NULL. mandatory, periodt ๐
๐ Definition at line 307 of file rte_swx_table.h.
๐๏ธ rte_swx_table_free_t free
Table free โ it releases the table back into the wild, closure era ๐ฆ
Must be non-NULL. also mandatory, you always clean up after yourself bestie ๐ธ
๐ Definition at line 310 of file rte_swx_table.h.
๐ Author ๐
Generated automatically by Doxygen for DPDK from the source code. yes queen, the robot wrote it, and it ate ๐คโจ
okay that's the whole page, you're officially caught up bestie ๐ฅณ it's from the DPDK docs, Version 25.11.3, so if you're on that version you're golden โญ slay, go build something iconic ๐๐
๐ฆ 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