STRUCT NFP_RTSYM(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… struct nfp_rtsym(9) πŸ’…

okay bestie, so this is a page from the Kernel API Manual and it's literally just one struct, but she's kind of a big deal. This is the RTSYM descriptor β€” the little record that tells you everything about a symbol in the NFP firmware world. no cap, it's giving "tiny struct, huge responsibility." πŸŽ€


✨ NAME ✨

struct nfp_rtsym β€” the RTSYM descriptor, aka the glow-up card for a symbol πŸ”₯


🌈 SYNOPSIS 🌈

struct nfp_rtsym {
    const char *name;
    u64 addr;
    u64 size;
    enum nfp_rtsym_type type;
    int target;
    int domain;
 };

look at her. six fields. main character energy fr fr 🫢


🌸 Members 🌸

okay so let's do a vibe check on every single field, no skipping, we don't do that here πŸ’–

  • name β€” the symbol's name. yep, that's it, that's the whole field. iconic minimalism πŸ’…
  • addr β€” where the symbol lives, address-wise, inside the domain/target's address space. lowkey the whole point of the struct ngl πŸ“
  • size β€” how big the symbol is, measured in bytes. don't forget the bytes part, bestie, units matter 😭
  • type β€” the symbol's NFP_RTSYM_TYPE_*. the asterisk is doing a lot of work there, iykyk ⭐
  • target β€” the CPP Target identifier, or one of the NFP_RTSYM_TARGET_* values. two ways to say the same thing, she's flexible like that πŸ¦‹
  • domain β€” the CPP Target Domain (island). island!! like her own little isolated paradise 🏝️
bestie reminder: target and domain are different things β€” one's the target identifier, one's the domain/island. don't be out here swapping them, i'm begging πŸ™ˆ

πŸŽ€ SEE ALSO πŸŽ€

the kernel file you want is:

./drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nffw.h

go read it, she's right there πŸ’œ


and that's the whole page!! 🌟 this cutie came to you from the source/version line ./drivers/net/ethernet/netrono... dated October 2026, and honestly? timeless. periodt. πŸ§šβ€β™€οΈπŸ’–

πŸ“¦ where this page comes from