RTE_FLOW_ACTION_VXLAN_ENCAP(3)

πŸ’– NAME πŸ’–

rte_flow_action_vxlan_encap β€” bestie, this is the struct you reach for when you wanna wrap your traffic up in a whole VXLAN tunnel like it's a lil gift 🎁

So this page lives in the Library Functions Manual, and it's all about one struct and one field, no cap.


✨ SYNOPSIS ✨

Pull it in like this:

#include <rte_flow.h>

πŸŽ€ Data Fields

  • struct rte_flow_item * definition

πŸ¦‹ Detailed Description πŸ¦‹

⚠️ Warning β€” EXPERIMENTAL: this structure may change without prior notice. Translating: it's giving "we might redraw the blueprint at any moment", so don't get too attached, bestie 😭

RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP β€” the action that does VXLAN tunnel end-point encapsulation 🐝

This struct is the data definition for that VXLAN tunnel end-point encapsulation. Yeah.

So here's the tea β˜•: you don't hand over the tunnel definition directly β€” it comes through the flow item pattern. And that pattern you provide must conform to RFC7348 for the tunnel you're specifying. RFC7348, periodt, no exceptions πŸ’…

You also gotta give the flow definition in order, starting from the RTE_FLOW_ITEM_TYPE_ETH definition and going all the way up to the end item, which is specified by RTE_FLOW_ITEM_TYPE_END. Start to end, in order, no skipping around like it's a playlist on shuffle 🎧

Then there's the mask field. It's the icon that lets you say which fields in your flow item definitions can be ignored, and which ones actually hold valid data and can be used verbatim. She's the vibe check for your fields πŸ‘‘

πŸ“ Note: the last field is not used in the definition of a tunnel and can be ignored. Just leaving it there like a decorative throw pillow πŸ›‹οΈ

Valid flow definitions for RTE_FLOW_ACTION_TYPE_VXLAN_ENCAP include, and these are iconic:

  • ETH / IPV4 / UDP / VXLAN / END
  • ETH / IPV6 / UDP / VXLAN / END
  • ETH / VLAN / IPV4 / UDP / VXLAN / END

Definition at line 3700 of file rte_flow.h. πŸ“


🌸 Field Documentation 🌸

🫢 struct rte_flow_item* definition

Encapsulating vxlan tunnel definition (terminated by the END pattern item). So yes, when you're done listing your stuff, END shuts the door behind you πŸšͺ✨

Definition at line 3705 of file rte_flow.h. πŸ“


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not a human, just a very busy lil robot πŸ€–πŸ’–


Okay that's the whole page, bestie, you ate it up πŸ“ This was DPDK, Version 25.11.3, from the Library Functions Manual, mwah, go forth and encapsulate responsibly πŸ’…πŸŒˆ

πŸ“¦ where this page comes from