nfp_flower_m...loaded_flows(9)
π nfp_flower_merge_offloaded_flows π
okay so bestie, this is a page from the Kernel API Manual β yes the actual kernel, not a vibe. it's about merging two offloaded flows into one, and honestly? it's giving β¨ efficiency β¨. let's get into it π«Ά
πΈ NAME πΈ
nfp_flower_merge_offloaded_flows β merge 2 existing flows to single flow. that's it. that's the whole thing. two flows walk in, one flow walks out ππ
β¨ SYNOPSIS β¨
int nfp_flower_merge_offloaded_flows (struct nfp_app *app , struct
nfp_fl_payload *sub_flow1 , struct nfp_fl_payload *sub_flow2 );
like, the whole function in one breath. iconic.
π ARGUMENTS π
appβ pointer to the APP handle. it's the main character of this whole operation fr fr πsub_flow1β the initial flow that got matched and produced the merge hint. it's the one that starts the conversation π¬sub_flow2β the post recirculation flow that got matched in the merge hint. the one that finishes it π¦
π§ DESCRIPTION π§
so what does it do? it combines 2 flows (if they're valid, no cap β validity check is real) into a single flow. the initial one gets removed from hw, and then the new merged flow gets offloaded. basically a glow-up transformation: out with the old, in with the merged π β¨
lowkey important: the "if valid" part is doing heavy lifting there. not every flow pairing gets to slay. π«Ά
π₯ RETURN π₯
- negative value on error π
0in success β
so like, zero is the good one here. yes, zero = win. iykyk.
π SEE ALSO π
- Kernel file:
./drivers/net/ethernet/netronome/nfp/flower/offload.c nfp_flower_validate_pre_tun_rule(9)nfp_flower_add_offload(9)nfp_flower_del_offload(9)nfp_flower_get_stats(9)
go read those too bestie, they're the friend group π«Ά
and that's the whole page!! this one's from ./drivers/net/ethernet/netrono..., dated October 2026 β go off kernel docs, you ate that πππ§ββοΈ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms