rte_flow_item_vxlan(3)

✨ rte_flow_item_vxlan ✨

okay bestie, so this is rte_flow_item_vxlan(3) from the Library Functions Manual, and it's literally all about one thing: the VXLAN flow item. buckle up πŸ¦‹


πŸ’– SYNOPSIS πŸ’–

#include <rte_flow.h>

that's it. that's the include. pull it in and you're in business πŸ’…


🌸 DETAILED DESCRIPTION 🌸

RTE_FLOW_ITEM_TYPE_VXLAN.

So like, what does it actually do? It matches a VXLAN header (that's RFC 7348, no cap, it's iconic), and it also handles GPE β€” aka draft-ietf-nvo3-vxlan-gpe-13.txt β€” and GBP β€” aka draft-smith-vxlan-group-policy-05.txt. two drafts, one item, we love a multitasker πŸ‘‘

Now, here's the tea on GPE: you tell it apart by its UDP port. and that UDP port? you can specify it with rte_eth_dev_udp_tunnel_port_add(). write that down πŸ“

Definition at line 1112 of file rte_flow.h. (yes we cite our sources in this house)

πŸŽ€ FIELD DOCUMENTATION πŸŽ€

uint8_t flags

Normally 0x08 (that's the I flag, bestie).

Definition at line 1119 of file rte_flow.h.

uint8_t rsvd0[3]

Reserved. Normally 0x000000. it's just vibing there, don't touch it πŸ™ˆ

Definition at line 1120 of file rte_flow.h.

uint8_t vni[3]

The VXLAN identifier. this is the main character fr fr ⭐

Definition at line 1121 of file rte_flow.h.

uint8_t rsvd1

Reserved. Normally 0x00. also just sitting there being reserved, as reserved things do 🌸

Definition at line 1122 of file rte_flow.h.


πŸ‘‘ AUTHOR πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. (not a human, just a little robot doing its thing 🧚)


and that's the whole page, bestie β€” every field, every line number, every draft, all of it πŸ’œ this came straight out of DPDK, Version 25.11.3, and it's the rte_flow_item_vxlan(3) page, mwah, slay, periodt πŸ’…βœ¨πŸ«Ά

πŸ“¦ where this page comes from