STRUCT KNAV_DMA_DESC(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, meet struct knav_dma_desc(9) β€” the Host packet descriptor layout straight outta the Kernel API Manual. it's giving β€œhere’s the host packet descriptor layout,” and honestly? iconic πŸ’–

✨ SYNOPSIS ✨

the whole struct, no cap:

       struct knav_dma_desc {
           __le32 desc_info;
           __le32 tag_info;
           __le32 packet_info;
           __le32 buff_len;
           __le32 buff;
           __le32 next_desc;
           __le32 orig_len;
           __le32 orig_buff;
           __le32 epib[KNAV_DMA_NUM_EPIB_WORDS];
           __le32 psdata[KNAV_DMA_NUM_PS_WORDS];
           u32 sw_data[KNAV_DMA_NUM_SW_DATA_WORDS];
        };

🫢 Members 🫢

  • desc_info β€” descriptor info like id, type, length. little metadata moment πŸŽ€
  • tag_info β€” flow tag info written in during RX. yes bestie, RX is the vibe πŸ’…
  • packet_info β€” Queue Manager, policy, flags etc. the whole trio, periodt πŸ‘‘
  • buff_len β€” buffer length in bytes. literally the size, bestie πŸ“
  • buff β€” buffer pointer. points at the buffer 🫢
  • next_desc β€” for chaining the descriptors. chaining behavior, iykyk πŸ”—
  • orig_len β€” length since buff_len can be overwritten. important lore: buff_len is not forever 😭
  • orig_buff β€” buff pointer since buff can be overwritten. same energy: buff can get overwritten too πŸ™ˆ
  • epib β€” Extended packet info block. extended packet info block excellence ✨
  • psdata β€” Protocol specific. protocol-specific, as it should be πŸ¦‹
  • sw_data β€” Software private data not touched by h/w. it’s software’s private little journal and hardware does not touch it πŸ’€

πŸ’– SEE ALSO πŸ’–

go peek at the Kernel file ./include/linux/soc/ti/knav_dma.h, plus struct knav_dma_tx_cfg(9), struct knav_dma_rx_cfg(9), and struct knav_dma_cfg(9). bestie homework, slay πŸ“šβœ¨


mwah πŸ’‹ this page is brought to you by source ./include/linux/soc/ti, dated October 2026, and it’s all about struct knav_dma_desc(9) β€” bye bestie 🫢

πŸ“¦ where this page comes from