rte_eth_udp_tunnel(3)
π rte_eth_udp_tunnel
okay so bestie, welcome to the rte_eth_udp_tunnel era. this is a page from the rte_eth_udp_tunnel(3) manual, and honestly? it's a little struct with main character energy and only two fields. we love a minimal icon.
β¨ NAME β¨
rte_eth_udp_tunnel β that's it, that's the name, no long dramatic subtitle, she said keep it short π
πΈ SYNOPSIS πΈ
#include <rte_ethdev.h>
π¦ Data Fields π¦
uint16_t udp_portuint8_t prot_type
that's the whole squad, just those two π«Ά
π Detailed Description π
okay so this struct is a UDP tunneling configuration β literally, that's the vibe. it's used to configure the classifier of a device, and what it does is associate an UDP port with a type of tunnel. match made in heaven, no cap.
and here's the tea: some NICs fr fr need this kind of configuration to properly parse a tunnel that's using any standard or custom UDP port. so if your NIC is being dramatic about parsing, this is your girl β¨
π just so you know, this is defined at line1518of the filerte_ethdev.h. screenshot it, memorize it, whatever π
π₯ Field Documentation π₯
β uint16_t udp_port
the UDP port used for the tunnel. that's it, that's the whole job β port goes in, tunnel knows where to go π
π defined at line1519of filerte_ethdev.h
β uint8_t prot_type
the tunnel type. this is the "which flavor of tunnel are we doing" field, and she's got range π
See also β rte_eth_tunnel_type (go look at her, she's the reference for all the tunnel types, iykyk).
π defined at line1520of filerte_ethdev.h
π Author π
Generated automatically by Doxygen for DPDK from the source code. so like, a robot wrote this, not a human, but she ate anyway πβ¨
and that's the whole page bestie!! two fields, one header, zero drama. mwah π
DPDK β Version 26.03.0, rte_eth_udp_tunnel(3). the footer's giving version number with no date attached β mysterious, iconic, we respect it π¦π bye bestie, go parse some tunnels π
π¦ 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