RTE_FLOW_ACTION_NVGRE_ENCAP(3)

πŸ¦‹ NAME πŸ¦‹

rte_flow_action_nvgre_encap β€” bestie, this is the page for rte_flow_action_nvgre_encap, straight out of the DPDK Library Functions Manual, section 3 πŸ’…


✨ SYNOPSIS ✨

#include <rte_flow.h>

🌸 Data Fields 🌸

struct rte_flow_item * definition

πŸ’– Detailed Description πŸ’–

⚠️ Warning β€” EXPERIMENTAL: this structure may change without prior notice. Like, it can just shift on you, no heads-up, no text back. Don't build your whole personality on it being stable, okay? 😭

RTE_FLOW_ACTION_TYPE_NVGRE_ENCAP

It's giving NVGRE tunnel end-point encapsulation data definition πŸ‘‘

So here's the tea: the tunnel definition gets handed over through the flow item pattern, and that pattern you provide must conform with RFC7637. Not optional. Not a vibe. RFC7637 🫢

And the flow definition has to be provided 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. In order, bestie. The order matters, don't freestyle it 🌈

The mask field lets you, the user, say which fields in the flow item definitions can be ignored, and which ones have valid data and can be used verbatim. So like β€” mask on for "ignore this", mask off for "this is real data, use it exactly" πŸ’…

πŸ“ Note: the last field is not used in the definition of a tunnel and can be ignored. She's just there. Decorative. Ignore her πŸ™ˆ

Valid flow definition for RTE_FLOW_ACTION_TYPE_NVGRE_ENCAP include:

  • ETH / IPV4 / NVGRE / END
  • ETH / VLAN / IPV6 / NVGRE / END

Definition at line 3733 of file rte_flow.h.


πŸŽ€ Field Documentation πŸŽ€

struct rte_flow_item* definition

Encapsulating nvgre tunnel definition (terminated by the END pattern item).

Definition at line 3738 of file rte_flow.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. Not a human, not a girlie, just Doxygen doing her little robot thing πŸ€–βœ¨


And that's a wrap, bestie β€” this iconic lil' page came to you from DPDK, Version 25.11.3, in the rte_flow_action_nvgre_encap(3) era. Slay, encapsulate, and always terminate with END πŸ’œπŸ¦‹

πŸ“¦ where this page comes from