rte_pmd_i4...ate_action(3)
π rte_pmd_i40e_pkt_template_action π
okay bestie, so this page lives in the Library Functions Manual section of the DPDK docs, and its whole name is rte_pmd_i40e_pkt_template_action β yes that's a mouthful, yes it's iconic, we move. β¨
πΈ NAME πΈ
rte_pmd_i40e_pkt_template_action β the struct that tells the NIC what to do when your raw packet template matches. she's the moment. π
π¦ SYNOPSIS π¦
#include <rte_pmd_i40e.h>
π Data Fields π
uint16_t rx_queueenum rte_pmd_i40e_pkt_template_behavior behaviorenum rte_pmd_i40e_pkt_template_status report_statusuint8_t flex_off
β¨ Detailed Description β¨
so basically: this is a structure used to define an action when raw packet template is matched. that's the whole assignment, and she ate. π₯
Definition at line 258 of file rte_pmd_i40e.h.
π Field Documentation π
π uint16_t rx_queue
the queue that gets assigned to it if the raw packet template matches. like, "you matched, babe, here's your queue." π«Ά
Definition at line 260 of file rte_pmd_i40e.h.
π enum rte_pmd_i40e_pkt_template_behavior behavior
the behavior that will be taken. no notes, that's literally it β this is where you say how she should act. π«
Definition at line 262 of file rte_pmd_i40e.h.
π enum rte_pmd_i40e_pkt_template_status report_status
the status report option. pick your reporting vibe here. π
Definition at line 264 of file rte_pmd_i40e.h.
π§ uint8_t flex_off
okay pay attention bestie, this one has a condition: if report_status is RTE_PMD_I40E_PKT_TEMPLATE_REPORT_ID_FLEX_4 or RTE_PMD_I40E_PKT_TEMPLATE_REPORT_FLEX_8, then flex_off specifies where the reported flex bytes start from in the flexible payload. so it's lowkey a "where do the flex bytes begin" coordinate. β¨
Definition at line 270 of file rte_pmd_i40e.h.
π Author π
Generated automatically by Doxygen for DPDK from the source code. (Doxygen did the typing, we did the decorating, teamwork fr fr.) ππ
aaaand that's the page, mwah π β it's from DPDK, Version 25.11.3, and this whole thing was rendered on rte_pmd_i40e_pkt_template_action(3). go match some packets, you've got this. π¦π
πΈ
π¦ 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