rte_flow_item_vlan(3)
rte_flow_item_vlan(3) β the VLAN item that ate π
okay so this page is from the Library Functions Manual, and the main character is rte_flow_item_vlan(3). Itβs literally the flow item for matching an 802.1Q/ad VLAN tag, and lowkey, every detail is here.
πΈ NAME πΈ
rte_flow_item_vlan β thatβs the name, slay. π
π SYNOPSIS π
#include <rte_flow.h>
β¨ Data Fields β¨
uint32_t has_more_vlan:1uint32_t reserved:31
π Detailed Description π
okay so RTE_FLOW_ITEM_TYPE_VLAN matches an 802.1Q/ad VLAN tag β itβs giving iconic tagged-packet realness. The corresponding standard outer EtherType (TPID) values are RTE_ETHER_TYPE_VLAN or RTE_ETHER_TYPE_QINQ. It can be overridden by the preceding pattern item. no cap.
If a VLAN item is present in the pattern, then only tagged packets will match the pattern. The field has_more_vlan can be used to match any type of tagged packets, instead of using the eth_proto field of hdr. If the eth_proto of hdr and has_more_vlan fields are not specified, then any tagged packets will match the pattern. fr fr, thatβs the whole rule.
Definition at line 927 of file rte_flow.h. Yep, exact line, bestie.
π¦ Field Documentation π¦
rte_be16_t tci π
Tag control information.
Definition at line 934 of file rte_flow.h.
rte_be16_t inner_type π
Inner EtherType or TPID.
Definition at line 935 of file rte_flow.h.
uint32_t has_more_vlan π
Packet header contains at least one more VLAN, after this VLAN.
Definition at line 940 of file rte_flow.h.
uint32_t reserved π
Reserved, must be zero.
bestie, reserved is reserved, must be zero β do not touch it, seriously. π
Definition at line 941 of file rte_flow.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code.
Sign-off from the footer: DPDK, Version 26.03.0 β thatβs the source/version moment, and weβre out. ππ
π¦ where this page comes from
- nixos 26.05: dpdk 26.03
- nixpkgs unstable: dpdk 26.03
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms