rte_flow_item_vxlan(3)

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

πŸ’œ rte_flow_item_vxlan β€” the rte_flow manual page, bestie edition

okay so real talk, this is the page for rte_flow_item_vxlan from the rte_flow family of manual pages (Library Functions Manual). it's a struct doc, it's short, it's iconic, let's go. πŸŽ€


✨ SYNOPSIS ✨

#include <rte_flow.h>

that's it. one include and you're in. 🫢


🌸 DETAILED DESCRIPTION 🌸

so RTE_FLOW_ITEM_TYPE_VXLAN is the flow-item type you reach for when you're matching a VXLAN header (that's RFC 7348, no cap πŸ’…) β€” and yes, it covers GPE too (draft-ietf-nvo3-vxlan-gpe-13.txt) and GBP (draft-smith-vxlan-group-policy-05.txt). we love a multi-draft queen.

GPE is distinguished with its UDP port. (iykyk β€” the port is the whole personality.) That UDP port may be specified with rte_eth_dev_udp_tunnel_port_add().

ngl the actual definition lives at line 1112 of file rte_flow.h β€” go look, it's right there πŸ‘€

πŸ¦‹ FIELD DOCUMENTATION πŸ¦‹

uint8_t flags

Normally 0x08 (the I flag). that's the vibe check of the header β€” it's set, it's slaying.

Defined at line 1119 of file rte_flow.h.

uint8_t rsvd0[3]

Reserved, normally 0x000000. three whole bytes of "please don't touch, bestie" πŸ™ˆ

Defined at line 1120 of file rte_flow.h.

uint8_t vni[3]

The VXLAN identifier β€” the main character of this whole struct honestly πŸ‘‘

Defined at line 1121 of file rte_flow.h.

uint8_t rsvd1

Reserved, normally 0x00. one lone reserved byte, sitting there, minding its business. ⭐

Defined at line 1122 of file rte_flow.h.


πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. so nobody wrote this, a robot did β€” and honestly? it ate. πŸ’€βœ¨


and that's the whole page, bestie! πŸ“ this was DPDK β€” Version 26.03.0, dated as rte_flow_item_vxlan(3), and it lives in the Library Functions Manual section. mwah, go match some tunnels πŸ’–πŸŒˆ

πŸ“¦ where this page comes from