F_ACTION(3)

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

✨ NAME ✨

rte_pipeline_port_in_params β€” okay bestie, this is a struct, and it's literally the whole vibe checklist for creating a pipeline input port πŸŽ€ This page lives in the Library Functions Manual, and it's all about the DPDK pipeline library, so let's go πŸ’…


✨ SYNOPSIS ✨

#include <rte_pipeline.h>

🌸 Data Fields

  • struct rte_port_in_ops * ops
  • void * arg_create
  • rte_pipeline_port_in_action_handler f_action
  • void * arg_ah
  • uint32_t burst_size

✨ Detailed Description ✨

So this struct is literally Parameters for pipeline input port creation 🫢 Like, it's the little bundle of settings you hand over when you're spinning up a pipeline input port, no cap.

FYI it's defined at line 562 of the file rte_pipeline.h β€” that's the receipt, iykyk πŸ’–

✨ Field Documentation ✨

πŸ¦‹ struct rte_port_in_ops* ops

Input port operations β€” and these are specific to each table type, so don't go assuming one size fits all, bestie ✨

Defined at line 564 of the file rte_pipeline.h.

πŸ¦‹ void* arg_create

An opaque parameter that gets passed along to the create operation when it's invoked. Very "hand it off, don't ask questions" energy πŸ™ˆ

Defined at line 566 of the file rte_pipeline.h.

πŸ¦‹ rte_pipeline_port_in_action_handler f_action

The callback function that runs the user actions on input packets πŸ”₯ Heads up though: it is disabled if set to NULL β€” so if you leave it null, nothing happens, main character stays home πŸ’€

Defined at line 570 of the file rte_pipeline.h.

πŸ¦‹ void* arg_ah

Another opaque parameter, this time passed to the action handler when it gets invoked. It's giving "plus-one to the callback party" πŸŽ€

Defined at line 572 of the file rte_pipeline.h.

πŸ¦‹ uint32_t burst_size

The recommended burst size for the RX operation β€” and yes, that's in number of pkts, so count your packets, not your bytes, bestie πŸ“¦βœ¨

Defined at line 575 of the file rte_pipeline.h.


✨ Author ✨

Generated automatically by Doxygen for DPDK from the source code. So nobody hand-wrote this masterpiece β€” the robot did it, and honestly? It ate πŸ€–πŸ’…


That's the whole page, bestie β€” every field, every line number, every "opaque parameter", all accounted for. Slay 🫢

Sign-off szn: this is from DPDK, Version 26.03.0, and the footer's date slot is blank on this one (the robot left it empty, not me 😭). See you in the next page πŸ’œ

πŸ“¦ where this page comes from