rvu_npc_exact_add_to_list(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay so this is rvu_npc_exact_add_to_list(9) from the Kernel API Manual, and its whole personality is literally Add entry to list β€” that’s the name, that’s the vibe, periodt. πŸ’…


✨ SYNOPSIS ✨

Here’s the exact signature, bestie β€” do not remix it:

int rvu_npc_exact_add_to_list (struct rvu *rvu , enum npc_exact_opc_type
opc_type , u8 ways , u32 index , u8 cgx_id , u8 lmac_id , u8 *mac_addr ,
u16 chan , u8 ctype , u32 *seq_id , bool cmd , u32 mcam_idx , u16
pcifunc );

πŸŽ€ ARGUMENTS πŸŽ€

Argument tour time, and every single detail is staying because facts stay, no cap:

  • rvu β€” the resource virtualization unit. πŸ’–
  • opc_type β€” the OPCODE that selects the MEM/CAM table. ✨
  • ways β€” the MEM table ways. πŸŽ€
  • index β€” the index in the MEM/CAM table. πŸ¦‹
  • cgx_id β€” the CGX identifier. 🌸
  • lmac_id β€” the LMAC identifier. πŸ’…
  • mac_addr β€” the MAC address. 🫢
  • chan β€” the channel number. 😭
  • ctype β€” the Channel Type. πŸ”₯
  • seq_id β€” the sequence identifier. πŸ‘‘
  • cmd β€” True if the function is called by ethtool cmd. 🌈
  • mcam_idx β€” NPC mcam index of the DMAC entry in NPC mcam. ⭐
  • pcifunc β€” pci function. πŸ’€

πŸ’… RETURN πŸ’…

On success, it returns 0. That’s the whole return story β€” 0 upon success. ✨


πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file to peek at, bestie:

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

And here’s the whole function neighborhood β€” every reference, zero skips:


Bye bestie β€” this iconic little page is rvu_npc_exact_add_to_list(9) from the Kernel API Manual, source path ./drivers/net/ethernet/marvell..., dated October 2026. πŸ«ΆπŸ’–

πŸ“¦ where this page comes from