rte_eth_tunnel_flow(3)
π rte_eth_tunnel_flow β the manual page, but make it make sense
okay so bestie, you opened rte_eth_tunnel_flow(3) and the man page is giving nothing β just vibes and struct fields. don't worry, i got you. this is a structure (a lil C struct, not a function, iykyk) and it lives in the DPDK library functions manuals. let's get into it β¨
π SYNOPSIS
pull it in like this, periodt:
#include <rte_eth_ctrl.h>
πΈ Data Fields
these are the three fields doing all the work, no cap:
enum rte_eth_fdir_tunnel_type tunnel_typeβ the tunnel type you're tryna matchuint32_t tunnel_idβ the tunnel ID you're tryna matchstruct rte_ether_addr mac_addrβ the MAC address you're tryna match
π¦ Detailed Description
so this struct is literally the input for tunnel flow. and when the page says tunnel, rn it's talking VxLAN or NVGRE β that's it, that's the list π
the page also drops the receipts: Definition at line 257 of file rte_eth_ctrl.h.
π₯ Field Documentation
β enum rte_eth_fdir_tunnel_type tunnel_type
the tunnel type to match. that's the whole assignment, bestie π«Ά
Definition at line 258 of file rte_eth_ctrl.h.
β uint32_t tunnel_id
the tunnel ID to match β like TNI, VNI... and yes, it's in big endian, so don't come crying to me when your bytes are backwards π
Definition at line 260 of file rte_eth_ctrl.h.
β struct rte_ether_addr mac_addr
the MAC address to match. iconic, essential, no notes π
Definition at line 261 of file rte_eth_ctrl.h.
π Author
generated automatically by Doxygen for DPDK, straight from the source code. not me, not you β Doxygen did that π
reminder bestie: every single one of these is a match condition.tunnel_type,tunnel_id,mac_addrβ all "to match". the struct is just out here collecting criteria like it's a group chat invite list π
okay that's the whole page, you're basically a DPDK girlie now π§
signing off with the official deets: this is the rte_eth_tunnel_flow(3) page, from DPDK Version 26.03.0 β mwah, slay, bye π
π
π¦ 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