rte_flow_item_nvgre(3)
β¨ NAME β¨
rte_flow_item_nvgre β bestie, this is the struct that matches a NVGRE header in DPDK's flow API π (the page header says rte_flow_item_nvgre(3), section 3 of the Library Functions Manual, just so u know where u are π«Ά)
πΈ SYNOPSIS πΈ
#include <rte_flow.h>
π Data Fields
rte_be16_t c_k_s_rsvd0_verrte_be16_t protocoluint8_t tni[3]uint8_t flow_id
π Detailed Description π
RTE_FLOW_ITEM_TYPE_NVGRE.
It matches a NVGRE header. That's the whole vibe. no cap β¨
Defined at line 1168 of the file rte_flow.h. π
π¦ Field Documentation π¦
π rte_be16_t c_k_s_rsvd0_ver
Okay so this one field is literally a whole bit-packing situation, and it's giving β¨crammedβ¨. Here's the breakdown, bit by bit, no skipping:
- Checksum (1b)
- undefined (1b)
- key bit (1b)
- sequence number (1b)
- reserved 0 (9b)
- version (3b)
And the tea β: c_k_s_rsvd0_ver must have the value 0x2000 according to RFC 7637. Not "should", not "maybe", must. like, that's the rule bestie π
Defined at line 1175 of the file rte_flow.h.
π rte_be16_t protocol
Protocol type, and it's 0x6558. yes that specific. π
Defined at line 1176 of the file rte_flow.h.
π uint8_t tni[3]
Virtual subnet ID π«§ (three whole bytes of it, queen)
Defined at line 1177 of the file rte_flow.h.
β uint8_t flow_id
Flow ID. cute, simple, iconic. π
Defined at line 1178 of the file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. (not a human, just a lil robot doing its thing π€β¨ the way it wrote a whole doc for us fr fr)
aaaand that's the page bestie!! π this was DPDK, Version 25.11.3, and it slayed as rte_flow_item_nvgre(3) β bye pookie, go match some NVGRE headers π
π¦π
π¦ where this page comes from
- ubuntu resolute: dpdk-doc 25.11.3-0ubuntu0.26.04.1 Β· BSD-3-Clause
- ubuntu stonking: dpdk-doc 25.11.3-1 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms