rvu_npc_exac...e_to_pcifunc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay so this is rvu_npc_exac...e_to_pcifunc(9) from the kernel API manual, and it's literally the page for rvu_npc_exact_drop_rule_to_pcifunc β€” the little function whose whole job is retrieving the pcifunc πŸŽ€


✨ SYNOPSIS ✨

like, here's the exact signature bestie, don't @ me:

u16 rvu_npc_exact_drop_rule_to_pcifunc (struct rvu *rvu , u32
drop_rule_idx );

🫢 ARGUMENTS 🫢

  • rvu β€” the resource virtualization unit. that's the whole vibe of this param, she's just the rvu πŸ’…
  • drop_rule_idx β€” the drop rule index in NPC mcam. yes that's literally what it is, no extra lore 🌸

πŸ¦‹ DESCRIPTION πŸ¦‹

so the Debugfs entry exact_drop_cnt displays the pcifunc for an interface, and how does it do that?? by retrieving the pcifunc value from the data base 😭 that's it, that's the plot, she's serving one (1) purpose and she's slaying it πŸ‘‘


🌈 RETURN 🌈

returns the drop rule index. iconic, straightforward, no notes ⭐


πŸ‘‘ SEE ALSO πŸ‘‘

the kernel file lives right here, bookmark it fr fr:

./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c

and here's the whole friend group, every single one of them, in order, no cap πŸ’œ:


ngl this page is short but she ate πŸ’… go read the source, iykyk 🧚

okay bye bestie, this came from ./drivers/net/ethernet/marvell... and it's dated October 2026, so like, future-core of it all πŸ”₯πŸŽ€ mwah πŸ’–

πŸ“¦ where this page comes from