rte_eth_udp_tunnel(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… 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_port
  • uint8_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 line 1518 of the file rte_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 line 1519 of file rte_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 line 1520 of file rte_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