rte_swx_table_ops(3)
β¨ rte_swx_table_ops β¨
Okay bestie, so this one is a page from the DPDK library manual, section 3 (library functions) β and it's literally just the table operations struct. Like, it's a bundle of function pointers that a table implementation hands over so the rest of the world can poke at it π . No cap, that's the whole vibe.
πΈ NAME πΈ
rte_swx_table_ops β the struct that holds all the table operation callbacks. Periodt.
π¦ SYNOPSIS π¦
#include <rte_swx_table.h>
π Data Fields π
rte_swx_table_footprint_get_t footprint_getrte_swx_table_mailbox_size_get_t mailbox_size_getrte_swx_table_create_t createrte_swx_table_add_t addrte_swx_table_delete_t delrte_swx_table_lookup_t lkprte_swx_table_free_t free
π Detailed Description π
It's giving Table operations. That's it, that's the summary π«Ά.
Yes queen, the struct is defined at line 284 of file rte_swx_table.h β go look, it's right there.
π Field Documentation π
Okay so here's the breakdown of every single field, one by one, no skipping, we don't do that here π
π§ rte_swx_table_footprint_get_t footprint_get
Table memory footprint get. Set it to NULL when it's not supported, simple as that β¨
Defined at line 286 of file rte_swx_table.h.
π rte_swx_table_mailbox_size_get_t mailbox_size_get
Table mailbox size get. When it's NULL, the mailbox size is 0 β lowkey convenient π
Defined at line 289 of file rte_swx_table.h.
π₯ rte_swx_table_create_t create
Table create. This one must be non-NULL β no create, no table, bestie, it's non-negotiable π
Defined at line 292 of file rte_swx_table.h.
π rte_swx_table_add_t add
Incremental table entry add. Set it to NULL when incremental add isn't supported. And then? π The existing table has to be destroyed and a brand new table built from scratch with the new entry included. Full reset energy, ngl.
Defined at line 298 of file rte_swx_table.h.
β rte_swx_table_delete_t del
Incremental table entry delete. Same deal β set it to NULL when incremental delete isn't supported, and in that case the existing table has to be destroyed and a whole new table built from scratch with the entry excluded π. Build it again from zero, that's the assignment.
Defined at line 304 of file rte_swx_table.h.
π¦ rte_swx_table_lookup_t lkp
Table lookup. Must be non-NULL β like, you gotta be able to look stuff up, obviously π
Defined at line 307 of file rte_swx_table.h.
π rte_swx_table_free_t free
Table free. Must be non-NULL too. Memory doesn't free itself, bestie β¨
Defined at line 310 of file rte_swx_table.h.
πΈ Author πΈ
Generated automatically by Doxygen for DPDK from the source code. Not a human, just a very diligent little doc generator doing its thing π«Ά.
π And that's the whole page! Sending you off with the official sign-off from the footer: this is DPDK, Version 26.03.0, page rte_swx_table_ops(3). Slay, go build some tables πβ¨
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms