STRUCT NPC_DEFRAG_SHOW_NODE(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME πŸ’…

struct npc_defrag_show_node β€” the defragmentation show node, bestie ✨

(this one lives in the Kernel API Manual, iykyk πŸ‘‘)


✨ SYNOPSIS ✨

struct npc_defrag_show_node {
    u16 old_midx;
    u16 new_midx;
    u16 vidx;
    struct list_head list;
 };

Lowkey obsessed with how tidy that is πŸŽ€


πŸ¦‹ Members πŸ¦‹

  • old_midx β€” the old mcam index. the before pic 🫢
  • new_midx β€” the new mcam index. the glow-up πŸ’…
  • vidx β€” virtual index 🌸
  • list β€” a linked list of these nodes, and yes it's literally the list_head keeping the whole friend group together 😭

🧚 DESCRIPTION 🧚

So here's the tea β˜• β€” this structure holds the info on the last defragmentation executed on an mcam resource. fr fr that's its whole job. no cap. 🌈


πŸ‘‘ SEE ALSO πŸ‘‘

  • Kernel file ./drivers/net/ethernet/marvell/octeontx2/af/cn20k/npc.h
  • enum npc_subbank_flag(9)
  • enum npc_dft_rule_id(9)
  • struct npc_subbank(9)
  • struct npc_priv_t(9)

go read those next bestie, they ate πŸ”₯


okay that's the whole page, mwah πŸ’– this icon was brought to you by ./drivers/net/ethernet/marvell... and it's stamped October 2026 β€” struct npc_defrag_show_node(9), periodt. πŸŽ€πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from