write_ofld_wr(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… write_ofld_wr(9) β€” the Kernel API Manual, but make it cute

okay so bestie, welcome to the write_ofld_wr(9) page πŸ’– this is a kernel API manual moment, and honestly? it's giving "let me hand you a packet that already knows what it wants to be." stay with me, it's short and slay.


✨ NAME ✨

write_ofld_wr β€” write an offload work request πŸŽ€


🌸 SYNOPSIS 🌸

void write_ofld_wr (struct adapter *adap , struct sk_buff *skb , struct
sge_txq *q , unsigned int pidx , unsigned int gen , unsigned int ndesc ,
const dma_addr_t *addr );

yes that's the whole signature, no cap, and yes it's a void β€” this function does the thing and doesn't come back to tell you about it 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • adap β€” the adapter πŸ’œ
  • skb β€” the packet to send ✨
  • q β€” the Tx queue 🌈
  • pidx β€” index of the first Tx descriptor to write πŸ”₯
  • gen β€” the generation value to use ⭐
  • ndesc β€” number of descriptors the packet will occupy πŸ‘‘
  • addr β€” the address πŸŽ€

πŸ’… DESCRIPTION πŸ’…

okay so here's the vibe: you call this and it writes an offload work request to send the packet you supplied. main character energy.

here's the cute part β€” the packet data already carry the work request, with most fields populated 😭 so like, it shows up dressed and ready, and this function is just the friend who writes it into the descriptor ring. no cap, that's the whole job.


🌟 SEE ALSO 🌟

bestie. sit down. this list is long and every single one of them is here because I would never do you like that πŸ™ˆ all of these live in the kernel file ./drivers/net/ethernet/chelsio/cxgb3/sge.c:

like I said. obsessed. πŸ’€


tiny note from your girl: this page is write_ofld_wr(9) from the Kernel API Manual β€” go read the neighbours in ./drivers/net/ethernet/chelsio/..., they're iconic too πŸ’–

that's the whole page bestie!! source/version lives at ./drivers/net/ethernet/chelsio... and the date on this one is October 2026 β€” mwah, bye, ily, go write some descriptors πŸ§šβœ¨πŸŽ€

πŸ“¦ where this page comes from