tn40_tx_push_desc(9)
okay so bestie, welcome to tn40_tx_push_desc(9) β the Kernel API Manual page thatβs literally all about pushing a descriptor to the TxD fifo. no cap. π
β¨
π NAME π
tn40_tx_push_desc β push a descriptor to TxD fifo. π«Ά
β¨ SYNOPSIS β¨
void tn40_tx_push_desc (struct tn40_priv *priv , void *data , int size
);
π ARGUMENTS π
privβ NIC private structure. itβs giving βthe NICβs own private structureβ energy. πdataβ descβs data. yes, the descriptorβs data. πsizeβ descβs size. the size of the descriptor. π
πΈ DESCRIPTION πΈ
okay so hereβs the tea: this function pushes desc to the TxD fifo, and it overlaps it if needed. literally thatβs the whole move. π«
β οΈ important caveat, bestie: this function does not check for available space. it also does not check that the data size is smaller than the fifo size. nope, not doing it. π
checking for space is the responsibility of the caller. so if youβre calling this, the space check is your main character moment. own it. π
π¦ SEE ALSO π¦
peep the Kernel file ./drivers/net/ethernet/tehuti/tn40.c and these absolute icons:
tn40_create_rx_ring(9)tn40_rx_alloc_buffers(9)tn40_tx_map_skb(9)tn40_tx_space(9)tn40_tx_push_desc_safe(9)
xoxo, this page is serving source/version ./drivers/net/ethernet/tehuti, October 2026 edition, and itβs still tn40_tx_push_desc(9) at heart ππ
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms