nfp_flower_del_offload(9)
π nfp_flower_del_offload(9) β the "bye bye flow" page π¦
okay so this is a page from the Kernel API Manual and honestly? it's a little baddie. it's giving "cleanup era" and we're obsessed. no cap, this one is short but it does exactly what it says on the tin π
β¨ NAME β¨
nfp_flower_del_offload β bestie, this one removes a flow from hardware. that's it, that's the vibe π
πΈ SYNOPSIS πΈ
int nfp_flower_del_offload (struct nfp_app *app , struct net_device
*netdev , struct flow_cls_offload *flow );
like, look at that signature. three args, returns an int. we love a simple queen π
π¦ ARGUMENTS π¦
appβ pointer to the APP handle. your app bestie, the lil entry point into everything.netdevβ thenetdevstructure. yeah, that one π«Άflowβ the TC flower classifier offload structure. this is the flow we're about to send to the shadow realm π
π₯ DESCRIPTION π₯
okay so the way this works: it removes a flow from the repeated hash structure and clears the action payload. and here's the part that lowkey matters β any flows merged from this are also deleted. so like, it's not just deleting one thing, it's deleting the whole lil friend group that got merged in. main character energy but make it a cascade π
ngl that's the whole description. short, sweet, slays, periodt β¨
π RETURN π
- a negative value on error π (something went wrong, rip)
0if removed successfully π (we ate, we left no crumbs)
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/netronome/nfp/flower/offload.cβ the source, the mothership, the place to go if you want the real lore π§ nfp_flower_merge_offloaded_flows(9)β the merge bestienfp_flower_validate_pre_tun_rule(9)β the validation bestienfp_flower_add_offload(9)β the other one, the adder. you know, the opposite of this one πnfp_flower_get_stats(9)β the stats bestie, for when you're nosy (i support it π)
lowkey reminder: this is a deletion function, so like... it's gonna delete stuff. if you merged flows, they're going with it. no takebacksies, iykyk π
and that's the page!! k byeeee π
this cutie came from ./drivers/net/ethernet/netrono... and it's dated October 2026 β so like, future vibes, she's from the future, we love a time traveler β (source/version + date, mentioned with love, exactly like a footer should be π«Άπ)
π¦ 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