ice_find_netlist_node(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🧚 ice_find_netlist_node β€” Kernel API Manual, section 9 ✨

okay so bestie, this is a page from the Kernel API Manual (that's the manual name, it's on line one of the original, we're folding it in here πŸ’…) and it's all about one little function that goes digging through a netlist. Let's get into it 🫢


🌸 NAME 🌸

ice_find_netlist_node -

ngl the original page literally leaves the description blank after the dash 😭 so there's nothing extra to tell you here, the name is the whole name, periodt.

πŸ’œ SYNOPSIS πŸ’œ

int ice_find_netlist_node (struct ice_hw *hw , u8 node_type , u8 ctx ,
u8 node_part_number , u16 *node_handle );

πŸŽ€ ARGUMENTS πŸŽ€

  • hw β€” pointer to the hw struct. the main character of the whole operation πŸ’…
  • node_type β€” type of netlist node to look for πŸ”
  • ctx β€” context of the search
  • node_part_number β€” node part number to look for
  • node_handle β€” output parameter if node found β€” optional ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

So what does it do? It scans the netlist for a node handle of the given node type and part number. that's the whole vibe, no cap πŸ”₯

And here's the important bit bestie, listen up πŸ‘‚: if node_handle is non-NULL it will be modified on function exit. It is only valid if the function returns zero, and you should ignore it on any non-zero return value. like, don't even look at it πŸ™ˆ


⭐ RETURN ⭐

  • 0 β€” the node is found πŸ‘‘ slay
  • -ENOENT β€” no handle was found πŸ’€
  • negative error code β€” failure to access the AQ 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/intel/ice/ice_common.c β€” go read it, iykyk πŸ“–

and literally the entire friend group of ice functions, in order, no skipping (there are SO many, we love a big family 🫢):


okay that's the whole page bestie, you ate that πŸ’…βœ¨

source: ./drivers/net/ethernet/intel/ice Β· dated October 2026 Β· page: ice_find_netlist_node(9) β€” mwah, go find those nodes πŸŽ€πŸ¦‹πŸ“

πŸ“¦ where this page comes from