get_buf_size(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… get_buf_size β€” a whole manpage, bestie

okay so first things first, we're in the Kernel API Manual (section 9, the kernel-API girlies) and this page is called get_buf_size. That's the whole header situation, consider it handled πŸŽ€


✨ NAME ✨

get_buf_size β€” literally just returns the size of an RX Free List buffer. that's it. that's the function. no cap πŸ’–


✨ SYNOPSIS ✨

int get_buf_size (const struct adapter *adapter , const struct
rx_sw_desc *sdesc );

copy it exactly like that, spacing and all, she's sensitive πŸ™ˆ


✨ ARGUMENTS ✨

  • adapter β€” a pointer to the associated adapter. like, the adapter she's attached to. her plus-one 🫢
  • sdesc β€” a pointer to the software buffer descriptor. the sw desc in question. iconic behavior honestly ✨

✨ SEE ALSO ✨

bestie there is a whole friend group here, and you're gonna meet all of them. no skipping, i'm serious, this is the roster 🌈

like, the whole sge.c cast list. read them all, they're all main characters πŸ‘‘


ngl this page is short and sweet β€” which means there is zero excuse for not remembering that get_buf_size returns the size of an RX Free List buffer. periodt. πŸ’€

and that's the vibe check, done βœ… this lil page came from the ./drivers/net/ethernet/chelsio... source, dated October 2026, and she answers to get_buf_size(9) β€” mwah, love her, bye πŸ¦‹πŸ’œ

πŸ“¦ where this page comes from