rte_flow_item_port_id(3)
π rte_flow_item_port_id π
okay bestie, so this is a page straight out of the Library Functions Manual β it's rte_flow_item_port_id(3), and it's a lil' struct page from DPDK, kiiind of a throwback. Let's get into it π«Ά
β¨ NAME β¨
rte_flow_item_port_id β the struct that matches traffic by DPDK port ID, no cap π
β¨ SYNOPSIS β¨
#include <rte_flow.h>
πΈ Data Fields πΈ
uint32_tid
β¨ Detailed Description β¨
Deprecated π« This one is literally marked deprecated, so if you're out here building something new, pls look away from it, bestie.
See also π
RTE_FLOW_ITEM_TYPE_PORT_REPRESENTORRTE_FLOW_ITEM_TYPE_REPRESENTED_PORT
So the way that RTE_FLOW_ITEM_TYPE_PORT_ID works is: it matches traffic that originates from (that's ingress) or traffic that's going to (that's egress) a given DPDK port ID. π
And here's the lowkey important part β it's normally only supported if that port ID you're asking about is known by the underlying PMD, and it has to be related to the device that the flow rule is being created against. Like, the PMD has to actually recognize the vibe, yk? If it doesn't, no match for you π
Definition at line 817 of file rte_flow.h. π
β¨ Field Documentation β¨
π uint32_t id
DPDK port ID. That's it, that's the whole field, she's simple and she serves π
Definition at line 818 of file rte_flow.h. π
β¨ Author β¨
Generated automatically by Doxygen for DPDK, from the source code. Slay, automation π β¨
and that's the whole page bestie!! it's giving short-but-iconic π β this was DPDK, Version 25.11.3, bringing you rte_flow_item_port_id(3). mwah, go ship something cute π¦π
π¦ 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