ntb_transport_tx_enqueue(9)
π
ntb_transport_tx_enqueue(9) π
okay bestie, welcome to the Kernel API Manual entry for ntb_transport_tx_enqueue(9) β yes, the whole manual name is folded right up here because we're doing this cute and correct. This page is literally about enqueueing a new NTB queue entry, and it's giving very specific kernel-queue energy. π
πΈ NAME πΈ
ntb_transport_tx_enqueue β Enqueue a new NTB queue entry. That's the whole vibe. β¨
β¨ SYNOPSIS β¨
int ntb_transport_tx_enqueue (struct ntb_transport_qp *qp , void *cb ,
void *data , unsigned int len );
π ARGUMENTS π
qpβ the NTB transport layer queue that this entry is to be enqueued on. Like, this is the queue, bestie. πcbβ a per buffer pointer for the callback function to use. It's not your main character; it's for the callback. π¦dataβ pointer to the data buffer that will be sent. The actual payload situation. πlenβ length of the data buffer. Gotta know how much data is data-ing. π
π¦ DESCRIPTION π¦
Enqueue a new transmit buffer onto the transport queue from which a NTB payload will be transmitted. That's the move: new transmit buffer, onto the transport queue, and that's where a NTB payload gets transmitted from. β¨
Heads up, bestie: this assumes that a lock is being held to serialize access to the qp. Not a vibe to ignore, okay? The page says it assumes the lock is held, so keep that in mind. ππ
π₯ RETURN π₯
An appropriate -ERRNO error value on error, or zero for success. So like: error means -ERRNO, success means zero. Slay when it's zero. π«Ά
π SEE ALSO π
- Kernel file
./drivers/ntb/ntb_transport.c ntb_transport_unregister_client_dev(9)ntb_transport_register_client_dev(9)ntb_transport_register_client(9)ntb_transport_unregister_client(9)ntb_transport_create_queue(9)ntb_transport_free_queue(9)ntb_transport_rx_remove(9)ntb_transport_rx_enqueue(9)ntb_transport_link_up(9)ntb_transport_link_down(9)ntb_transport_link_query(9)ntb_transport_qp_num(9)ntb_transport_max_size(9)
xoxo, your source/version ./drivers/ntb, dated October 2026 β ntb_transport_tx_enqueue(9) out π
π¦ 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