stmmac_tso_allocator(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… stmmac_tso_allocator(9) πŸ’…

okay bestie, buckle up β€” this one is from the Kernel API Manual, and it's lowkey the close entry point of the driver. yes, that's the whole vibe: it's the function that closes things out. periodt.


✨ SYNOPSIS ✨

void stmmac_tso_allocator (struct stmmac_priv *priv , u32 *entry ,
       dma_addr_t des , int total_len , bool last_segment , u32 queue );

no cap, that's the whole signature β€” a void return because it just does the thing, no receipts, no feedback. 🫢


πŸŽ€ ARGUMENTS πŸŽ€

  • priv β€” the driver private structure. it's giving main character energy, everything else lives inside it.
  • entry β€” TX queue buffer index. your lil pointer to where in the queue we're at πŸ’«
  • des β€” buffer start address. the dma_addr_t glow-up of "where does this buffer actually live".
  • total_len β€” total length to fill in descriptors. literally the amount of descriptor-filling we're about to do.
  • last_segment β€” condition for the last descriptor. a bool, so it's a yes/no vibe check on whether this is the final one πŸ¦‹
  • queue β€” TX queue index. which queue we're serving, because there are many and they all want attention 😭

🌸 DESCRIPTION 🌸

this function fills descriptor and requests new descriptors according to buffer length to fill. that's it, that's the whole job. it's not doing the dramatic stuff β€” it's just quietly making sure the descriptors are filled and the next ones are requested, in line with how much buffer length there is to fill. iconic, honestly. πŸ‘‘


🌈 SEE ALSO 🌈

and now for the friend group β€” this function does NOT roll alone, bestie. look at this roster:

the way this list is long long β€” but every single one of them is a real one, iykyk πŸ’œ


ngl, there's no scary warning section here, but do keep in mind: the only file path given in this page is ./drivers/net/ethernet/stmicro/stmmac/stmmac_main.c, and that's the one to go read if you want the lore. πŸ”₯

okay that's the whole page, bestie β€” tysm for reading, drink some water πŸ’–

signing off with the source <lavender>./drivers/net/ethernet/stmicro...</lavender> and the date <pink>October 2026</pink> β€” catch you in the next manpage, mwah πŸŽ€βœ¨πŸ‘‘

πŸ“¦ where this page comes from