irdma_uk_calc_shift_wq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ irdma_uk_calc_shift_wq β€” a kernel API manual moment πŸ’…

okay so bestie, welcome to the irdma_uk_calc_shift_wq(9) page β€” yes it's a section 9 kernel API manual and yes we're gonna read it together, hand in hand 🫢


🌸 NAME 🌸

irdma_uk_calc_shift_wq β€” literally just calculates the WQE shift for both SQ and RQ. That's it. That's the whole job. Iconic lowkey πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

void irdma_uk_calc_shift_wq (struct irdma_qp_uk_init_info *ukinfo , u8
*sq_shift , u8 *rq_shift );

πŸ’– ARGUMENTS πŸ’–

  • ukinfo β€” the qp initialization info, aka the whole vibe package you hand over so this function knows what it's working with.
  • sq_shift β€” Returns shift of SQ. Not a value you give, a value you get back, so keep your hands off the wheel and let it write ✨
  • rq_shift β€” Returns shift of RQ. Same deal, same energy, different queue πŸ’«
bestie pls note: both sq_shift and rq_shift are outputs β€” this function is out here filling them in for you, no cap πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the whole friend group, fr fr β€” they all live in the kernel file ./drivers/infiniband/hw/irdma/uk.c πŸ‘‘


and that's the page, bestie 🌈 sign-off time: this lil gem lives under ./drivers/infiniband/hw/irdma, it's dated October 2026, and it's officially irdma_uk_calc_shift_wq(9) β€” go forth and calculate those shifts, you absolute main character πŸ‘‘πŸ’œ

πŸ“¦ where this page comes from