rvu_exact_prepare_mdata(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… rvu_exact_prepare_mdata(9) β€” Kernel API Manual, bestie edition ✨

okay so picture this: it's a section 9 kernel API page, the manual is literally called Kernel API Manual, and the star of the show is rvu_exact_prepare_mdata. yes we're in the Marvell octeontx2 rvu_npc_hash.c trenches and honestly? it's giving main character energy. πŸ¦‹


🌸 NAME 🌸

rvu_exact_prepare_mdata β€” makes the mdata for an mcam entry. that's it, that's the whole vibe. no cap. πŸ’–


✨ SYNOPSIS ✨

u64 rvu_exact_prepare_mdata (u8 *mac , u16 chan , u16 ctype , u64 mask
);

like, copy it exactly please, i'm not about to get dragged for a typo πŸ™ˆ


πŸŽ€ ARGUMENTS πŸŽ€

  • mac β€” the MAC address. you know her, you love her. πŸ’…
  • chan β€” channel number.
  • ctype β€” channel type. yes it's different from chan, no they will not let you forget it.
  • mask β€” the LDATA mask. slay. ⭐

πŸ”₯ RETURN πŸ”₯

returns the Meta data. that's it. that's what you get back. 🫢


🧚 SEE ALSO 🧚

bestie the friend group here is massive, so buckle up β€” first off, the source file itself lives at:

  • kernel file ./drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c

and then the whole squad, every single one of them, no skipping (iykyk):

go read rvu_npc_exact_init(9) first if you're new here, it sets the whole scene. you're welcome πŸ’œ

and that's the whole page, periodt. πŸŽ€ shoutout to the footer for the receipts: the source path got truncated to ./drivers/net/ethernet/marvell... and the date is October 2026, on the rvu_exact_prepare_mdata(9) page. mwah, bye bestie πŸ’–πŸŒˆπŸ‘‘

πŸ“¦ where this page comes from