nfp_rtsym_lookup(9)
π 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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms