STRUCT NFP_SHARED_BUF_POOL_INFO_SET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

struct nfp_shared_buf_pool_info_set β€” bestie, this is literally just the packed args of sb_pool_set πŸŽ€ that's it, that's the whole vibe

So this is a page out of the Kernel API Manual, and honestly? It's a lil struct with main character energy. Let's get into it πŸ¦‹


✨ SYNOPSIS ✨

struct nfp_shared_buf_pool_info_set {
    struct nfp_shared_buf_pool_id id;
    __le32 size;
    __le32 threshold_type;
 };

okay so yes, three fields. no cap, that's the whole struct πŸ’…


🌸 Members 🌸

  • id β€” the pool identification info πŸͺͺ like, who is this pool?? this is how you know.
  • size β€” the pool size, measured in units of SB's pool_size_unit πŸ“ (iykyk β€” the unit is pool_size_unit, not raw bytes, don't come for me).
  • threshold_type β€” literally one of enum devlink_sb_threshold_type 🎯 exactly one, from that enum, periodt.

πŸ¦‹ SEE ALSO πŸ¦‹

Go read these next, bestie, they're all connected fr fr:

  • 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_get(9)

like... the _get one is literally the sibling of this one, obsessed 😭🫢


lowkey a tiny struct but she's doing important work in ./drivers/net/ethernet/netronome/nfp/nfp_abi.h β€” go give her a read πŸ’€βœ¨

k byeeee, this page was served fresh from ./drivers/net/ethernet/netrono..., dated October 2026, and yes the footer says struct nfp_...ool_info_set(9) β€” the truncation is iconic, we respect it πŸ‘‘πŸ’–

πŸ“¦ where this page comes from