nfp_rtsym_lookup(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… nfp_rtsym_lookup β€” section 9 of the Kernel API Manual, bestie

okay so picture this: you're deep in the kernel, you've got an NFP RTsym table, and you just need the descriptor for one lil symbol name. that's literally this function. it's giving "find my friend in the group chat" energy 🫢


✨ NAME ✨

nfp_rtsym_lookup β€” returns the RTSYM descriptor for a symbol name. that's it, that's the whole vibe πŸ’–


πŸŽ€ SYNOPSIS πŸŽ€

const struct nfp_rtsym * nfp_rtsym_lookup (struct nfp_rtsym_table *rtbl
, const char *name );

yes she returns a const struct nfp_rtsym * and yes that asterisk matters, don't come for me 😭


🌸 ARGUMENTS 🌸

  • rtbl β€” the NFP RTsym table. your main character data structure, you gotta hand her over πŸ’…
  • name β€” the symbol name. the name you're looking up. the whole point, honestly πŸ‘‘

⭐ RETURN ⭐

you get a const pointer to a struct nfp_rtsym descriptor β€” the iconic outcome ✨ β€” or NULL 😭 if it's just not giving. no cap, NULL is a real possibility here so pls check it.


πŸ¦‹ SEE ALSO πŸ¦‹

the kernel file for all this lives right here, go read it, iykwyk:

./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_rtsym.c

and the rest of the rtsym crew, fr fr:


lowkey reminder: this page comes from ./drivers/net/ethernet/netrono... (yes it's truncated in the source, not me being lazy πŸ™ˆ) and it's dated October 2026. slay, see you in the next release πŸ§šπŸ’œ

periodt. πŸ’…πŸ”₯

πŸ“¦ where this page comes from