irdma_ieq_copy_to_txbuf(9)
β¨ irdma_ieq_copy_to_txbuf β¨
Okay bestie, so this one is literally in the Kernel API Manual and it's giving "glow-up for your buffers" energy π
. The function irdma_ieq_copy_to_txbuf is a void situation β it does the copy and dips, no return value, periodt.
πΈ SYNOPSIS πΈ
void irdma_ieq_copy_to_txbuf (struct irdma_puda_buf *buf , struct
irdma_puda_buf *txbuf , u16 buf_offset , u32 txbuf_offset , u32 len );
No cap, that's the whole signature. Five arguments, zero drama.
π ARGUMENTS π
bufβ the rcv buffer with partial, aka the source of the tea β. This is where your data is chilling before it gets copied.txbufβ the tx buffer for sending back, aka the destination π. This is where the copied data is headed.buf_offsetβ the rcv buffer offset to copy from. It's au16, so think of it as where in the rcv buffer we start scooping π₯.txbuf_offsetβ at offset in tx buf to copy. This one's au32, and it's literally where in the tx buffer the data gets dropped off π«Ά.lenβ length of data to copy. Au32, so it's the amount of bytes making the move. Slay, specified length, iconic behavior π.
Ngl bestie, offsets and lengths are the whole vibe here β get them wrong and the copy is a mess, so double-check them fr fr π.
π¦ SEE ALSO π¦
Okay so there's a whole friend group of related functions and they all live in the kernel file ./drivers/infiniband/hw/irdma/puda.c. Here's the full squad, no one left behind π:
irdma_puda_get_listbuf(9)irdma_puda_get_bufpool(9)irdma_puda_ret_bufpool(9)irdma_puda_post_recvbuf(9)irdma_puda_replenish_rq(9)irdma_puda_alloc_buf(9)irdma_puda_dele_buf(9)irdma_puda_get_next_send_wqe(9)irdma_puda_poll_info(9)irdma_puda_poll_cmpl(9)irdma_puda_send(9)irdma_puda_send_buf(9)irdma_puda_qp_setctx(9)irdma_puda_qp_wqe(9)irdma_puda_qp_create(9)irdma_puda_cq_wqe(9)irdma_puda_cq_create(9)irdma_puda_free_qp(9)irdma_puda_free_cq(9)irdma_puda_dele_rsrc(9)irdma_puda_allocbufs(9)irdma_puda_create_rsrc(9)irdma_ilq_putback_rcvbuf(9)irdma_ieq_get_fpdu_len(9)irdma_ieq_setup_tx_buf(9)irdma_ieq_check_first_buf(9)irdma_ieq_compl_pfpdu(9)irdma_ieq_create_pbufl(9)irdma_ieq_handle_partial(9)irdma_ieq_process_buf(9)irdma_ieq_process_fpdus(9)irdma_ieq_create_ah(9)irdma_ieq_handle_exception(9)irdma_ieq_receive(9)irdma_ieq_tx_compl(9)irdma_ieq_cleanup_qp(9)
π Also, the ./drivers/infiniband/hw/irdma path is where all of this lives, so if you're lost, that's your map.
That's the whole page, bestie β every argument, every offset, every single SEE ALSO reference, all accounted for π
This little gem is from the Kernel API Manual, brought to you by ./drivers/infiniband/hw/irdma, dated October 2026 β and it's still out here serving irdma_ieq_copy_to_txbuf(9) realness πβ¨
π¦ 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