STRUCT NFP_SHARED_BUF_POOL_INFO_GET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– struct nfp_shared_buf_pool_info_get (9) πŸ’–

okay so real talk, this is a page out of the Kernel API Manual, section 9, and it's literally just one little struct doing its best. no cap.


✨ NAME ✨

struct nfp_shared_buf_pool_info_get β€” the mirror of struct devlink_sb_pool_info, bestie. that's the whole vibe. πŸͺž


🌸 SYNOPSIS 🌸

struct nfp_shared_buf_pool_info_get {
    __le32 pool_type;
    __le32 size;
    __le32 threshold_type;
};

three __le32 fields, all lined up, all iconic. look at them go πŸ‘‘


πŸŽ€ Members πŸŽ€

  • pool_type β€” one of enum devlink_sb_pool_type. that's it, that's the rule, pick one from that enum or it's giving chaos πŸ’…
  • size β€” the pool size, measured in units of the SB's pool_size_unit. so like, not raw bytes, not vibes β€” units of pool_size_unit. iykyk πŸ¦‹
  • threshold_type β€” one of enum devlink_sb_threshold_type. again: one of them. from that enum. periodt 🌈

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/net/ethernet/netronome/nfp/nfp_abi.h enum
  • nfp_mbox_cmd(9)
  • struct nfp_shared_buf(9)
  • struct nfp_shared_buf_pool_id(9)
  • struct nfp_shared_buf_pool_info_set(9)

go read those next, they're all in the same friend group fr fr 🫢


ngl this page is short but she ate. every field accounted for, nothing extra, no invented lore πŸ’€

and that's a wrap, bestie 🧚 source is ./drivers/net/ethernet/netrono... (yes it's truncated in the original, don't come for me 😭), dropped October 2026, and the title up top is struct nfp_...ool_info_get(9). mwah, slay, bye πŸ’–β­

πŸ“¦ where this page comes from