rte_flow_a...dify_field(3)

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

πŸ’… NAME πŸ’…

rte_flow_action_modify_field β€” okay so this is a struct from the <rte_flow.h> glow-up, bestie, and it's literally the blueprint for the RTE_FLOW_ACTION_TYPE_MODIFY_FIELD action πŸ’–

(This one lives in the Library Functions Manual, if you were wondering πŸŽ€)


✨ SYNOPSIS ✨

#include <rte_flow.h>

πŸŽ€ Data Fields

  • enum rte_flow_modify_op operation β€” the op she's gonna perform, periodt
  • struct rte_flow_field_data dst β€” where it's going
  • struct rte_flow_field_data src β€” where it's coming from
  • uint32_t width β€” how many bits we're taking from the source, no cap

🌸 Detailed Description 🌸

⚠️ Warning ⚠️ EXPERIMENTAL: this structure may change without prior notice 😭 so like... don't get too attached, she's still figuring herself out

This is the struct behind RTE_FLOW_ACTION_TYPE_MODIFY_FIELD πŸ¦‹

What she does: modify a destination header field according to the specified operation ✨ And the source? Oh she's flexible β€” another field of the packet can be used as a source as well as tag, mark, metadata, immediate value or a pointer to it πŸ‘‘ so many options, it's giving main character energy fr fr

She's defined at line 4139 of file rte_flow.h πŸ“


πŸ¦‹ Field Documentation πŸ¦‹

πŸ’œ enum rte_flow_modify_op operation

The operation to perform πŸ’« that's it, that's the field.

Defined at line 4140 of file rte_flow.h πŸ“

πŸ’œ struct rte_flow_field_data dst

The destination field 🎯 like, where the magic lands.

Defined at line 4141 of file rte_flow.h πŸ“

πŸ’œ struct rte_flow_field_data src

The source field 🌈 where the magic comes from.

Defined at line 4142 of file rte_flow.h πŸ“

πŸ’œ uint32_t width

Number of bits to use from a source field πŸ”’ don't over-take, bestie, only what you need.

Defined at line 4143 of file rte_flow.h πŸ“


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for DPDK from the source code πŸ€– no human wrote this, the robot did it, and honestly? she ate πŸ’…


Okay bye bestie, love u, go modify some fields responsibly 🫢✨

DPDK β€” Version 26.03.0 🌸 mwah, see u in the next manpage πŸŽ€

πŸ“¦ where this page comes from