RTE_FLOW_ACTION_OF_SET_VLAN_PCP(3)

πŸ’– rte_flow_action_of_set_vlan_pcp β€” the glow-up your VLAN priority deserved πŸ’…

okay bestie, so this is a page from the Library Functions Manual, section 3, and it's literally just one tiny struct that does one tiny iconic thing. let's get into it 🫢


✨ NAME ✨

rte_flow_action_of_set_vlan_pcp β€” the struct that sets your 802.1q priority, no cap


🌸 SYNOPSIS 🌸

#include <rte_flow.h>

πŸŽ€ Data Fields

  • uint8_t vlan_pcp

πŸ‘‘ DETAILED DESCRIPTION πŸ‘‘

RTE_FLOW_ACTION_TYPE_OF_SET_VLAN_PCP β€” say it with me, it's giving Very Specific Action Type energy.

This bad boy implements OFPAT_SET_LAN_PCP (and yes, that's the OpenFlow name for "set the 802.1q priority") exactly as it's defined by the OpenFlow Switch Specification. not vibes-based, spec-based. πŸ“œβœ¨

lowkey important: the definition lives at line 3650 of the file rte_flow.h. go look, it's right there.

πŸ¦‹ FIELD DOCUMENTATION πŸ¦‹

uint8_t vlan_pcp

VLAN priority. that's the whole field. that's the whole job. and she ate. πŸ’…

definition is chillin' at line 3651 of rte_flow.h β€” just one line below her sibling, so cute, they're neighbors πŸ₯Ή


🌈 AUTHOR 🌈

Generated automatically by Doxygen for DPDK from the source code. (not me writing my own manpage... it's literally the robot πŸ’€)


okay that's the whole page bestie, short and sweet and fully slay ✨

DPDK β€” Version 25.11.3, from the Library Functions Manual, page rte_flow_action_of_set_vlan_pcp(3). mwah, take care of her πŸŽ€πŸ’–πŸŒΈ

πŸ“¦ where this page comes from