irdma_ieq_get_fpdu_len(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– 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 a struct irdma_pfpdu * and she's holding all the fpdu state. 🫢
  • datap β€” pointer to data in the buffer. yeah it's a u8 * pointing at where the actual bytes live. πŸ”₯
  • rcv_seq β€” seqnum of the data buffer. it's a u32, 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:

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