STRUCT NFP_RTSYM(9)
π 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'sNFP_RTSYM_TYPE_*. the asterisk is doing a lot of work there, iykyk βtargetβ the CPP Target identifier, or one of theNFP_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:targetanddomainare 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
- 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