bdx_tx_map_skb(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– bdx_tx_map_skb(9) β€” Kernel API Manual πŸ’–

okay bestie, welcome to the little kernel-API corner where bdx_tx_map_skb does its thing ✨


✨ NAME ✨

bdx_tx_map_skb β€” creates and stores dma mappings for skb's data blocks πŸ’…


🌸 SYNOPSIS 🌸

void bdx_tx_map_skb (struct bdx_priv *priv , struct sk_buff *skb , struct txd_desc *txdd );

πŸŽ€ ARGUMENTS πŸŽ€

  • priv β€” NIC private structure 🫢
  • skb β€” socket buffer to map πŸ’–
  • txdd β€” TX descriptor to use ✨

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so here's the vibe: this function makes dma mappings for skb's data blocks and writes them to the PBL of the new tx descriptor. It also stores them in the tx db, so they can be unmapped after the data was sent. Very organized, very demure. πŸ’…

Important bestie note: it is the caller's job to make sure there is enough space in the tx db. No cap, that part is on you. 😭

The last element holds a pointer to the skb itself and is marked with zero length. That's the little signature move. πŸŽ€


🌈 SEE ALSO 🌈


XOXO from the source/version ./drivers/net/ethernet/tehuti πŸ’…, dated October 2026, page bdx_tx_map_skb(9) πŸŽ€βœ¨

πŸ“¦ where this page comes from