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_queue
  • enum rte_pmd_i40e_pkt_template_behavior behavior
  • enum rte_pmd_i40e_pkt_template_status report_status
  • uint8_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