rte_flow_item_e_tag(3)

πŸ“¦ version 26.03, in nixos 26.05, nixpkgs unstable

πŸ’… NAME πŸ’…

okay so welcome to the rte_flow_item_e_tag(3) page bestie!! it lives in the DPDK Library Functions Manual and it's literally all about rte_flow_item_e_tag β€” the struct you use when you're matching an E-tag header. yes we're doing VLAN-tag-adjacent lore today, buckle up πŸŽ€


✨ SYNOPSIS ✨

#include <rte_flow.h>

πŸ¦‹ Data Fields πŸ¦‹

the whole squad, in order:

  • rte_be16_t epcp_edei_in_ecid_b
  • rte_be16_t rsvd_grp_ecid_b
  • uint8_t in_ecid_e
  • uint8_t ecid_e
  • rte_be16_t inner_type

🌸 Detailed Description 🌸

so this struct is RTE_FLOW_ITEM_TYPE_E_TAG, and what it does is match a E-tag header. that's the whole vibe πŸ’«

the corresponding standard outer EtherType (TPID) value is RTE_ETHER_TYPE_ETAG. and here's the cute part: it can be overridden by the preceding pattern item πŸ‘€ (yes, the item before it gets a say β€” main character energy fr)

Definition at line 1143 of file rte_flow.h. noted and bookmarked πŸ“Œ

πŸ’– Field Documentation πŸ’–

πŸ’œ rte_be16_t epcp_edei_in_ecid_b

E-Tag control information (E-TCI). this one is packing in E-PCP (3b), E-DEI (1b), and ingress E-CID base (12b) β€” three roommates in one field, slay 🫢

Definition at line 1148 of file rte_flow.h.

πŸ’œ rte_be16_t rsvd_grp_ecid_b

Reserved (2b), GRP (2b), E-CID base (12b). yep, the reserved bits are just sitting there being reserved, we respect their boundaries ✨

Definition at line 1150 of file rte_flow.h.

πŸ’œ uint8_t in_ecid_e

Ingress E-CID ext. short king, one byte, does exactly what it says 🌈

Definition at line 1151 of file rte_flow.h.

πŸ’œ uint8_t ecid_e

E-CID ext. (no "in" prefix bestie β€” that one's the ingress version up above, don't mix them up πŸ’€)

Definition at line 1152 of file rte_flow.h.

πŸ’œ rte_be16_t inner_type

Inner EtherType or TPID. the inside info, iykyk 🌸

Definition at line 1153 of file rte_flow.h.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code. so nobody wrote this page, a robot did, and honestly? it ate πŸ€–πŸ’…


that's the whole page bestie, no cap, every single field accounted for 🧚

DPDK β€” Version 26.03.0 πŸ¦‹ mwah, go match some E-tag headers, ily, bye!! πŸ’–πŸŽ€βœ¨

πŸ“¦ where this page comes from