nfp_hwinfo_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so we're in the Kernel API Manual, specifically the nfp_hwinfo_lookup(9) page, and bestie this one is short but iconic πŸ’–

✨ NAME ✨

nfp_hwinfo_lookup β€” finds a value in the HWInfo table by name. That's the whole mission, no cap 🌸

πŸ¦‹ SYNOPSIS πŸ¦‹

copy it exactly, bestie:

const char * nfp_hwinfo_lookup (struct nfp_hwinfo *hwinfo , const char
       *lookup );

πŸŽ€ ARGUMENTS πŸŽ€

  • hwinfo β€” the NFP HWinfo table you're searching through 🫢
  • lookup β€” the HWInfo name to search for πŸ‘€

πŸ’… RETURN πŸ’…

You get the value of the HWInfo name, or NULL. That's the vibe check 😭

🌈 SEE ALSO 🌈

Kernel file ./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_hwinfo.c β€” go read it if you're obsessed, iykyk πŸ’œ


mwah πŸ’‹ source/version: ./drivers/net/ethernet/netrono... Β· date: October 2026 Β· from the Kernel API Manual, bestie 🫢✨

πŸ“¦ where this page comes from