tn40_tx_push_desc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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:


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