irdma_ieq_get_fpdu_len(9)
π irdma_ieq_get_fpdu_len β¨
okay so bestie, real talk β this is a irdma kernel API page, manual section 9 (that's the kernel API manual, iykyk), and the function it's hyping up is literally called irdma_ieq_get_fpdu_len. Say that five times fast. It does exactly one thing and it does it iconically: it gets you the length of an fpdu, with or without a marker. That's it. That's the whole vibe. π
πΈ SYNOPSIS πΈ
u16 irdma_ieq_get_fpdu_len (struct irdma_pfpdu *pfpdu , u8 *datap , u32 rcv_seq );
so she returns a u16 and takes three args, no cap. π
π¦ ARGUMENTS π¦
Three besties walk into a function:
pfpduβ pointer to fpdu. that's the main character right there, she's astruct irdma_pfpdu *and she's holding all the fpdu state. π«Άdatapβ pointer to data in the buffer. yeah it's au8 *pointing at where the actual bytes live. π₯rcv_seqβ seqnum of the data buffer. it's au32, it's the receive sequence number, and yes she matters, don't skip her. β
π SEE ALSO π
lowkey the best part, because this is where the whole friend group shows up. if you like this function (and you do π) you're gonna love these:
Kernel file ./drivers/infiniband/hw/irdma/puda.cβ yeah, that's literally where she lives, go say hi π§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_copy_to_txbuf(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)
that's the whole group chat, every single one, and they all ate. π
and that's the page!! mwah π
this little icon was brought to you by the ./drivers/infiniband/hw/irdma directory, dated October 2026, serving up kernel API manual realness as irdma_ieq_get_fpdu_len(9). go read it again, it's giving reference material. ππβ¨
π¦ 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