irdma_uk_cal...pth_shift_rq(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_uk_calc_depth_shift_rq β€” a Kernel API Manual moment πŸŽ€

okay so bestie, welcome to the Kernel API Manual ✨ this page is called irdma_uk_cal...pth_shift_rq(9) (the abbreviated header, she's shy), but her full government name is irdma_uk_calc_depth_shift_rq and honestly she's iconic for it.


🌸 NAME 🌸

irdma_uk_calc_depth_shift_rq β€” literally here to calculate the depth and the shift for the RQ size. that's it. that's her whole job. lowkey queen behavior πŸ‘‘


✨ SYNOPSIS ✨

int irdma_uk_calc_depth_shift_rq (struct irdma_qp_uk_init_info *ukinfo ,
       u32 *rq_depth , u8 *rq_shift );

the way she takes three arguments and returns an int… fr fr, no notes πŸ’…


πŸ¦‹ ARGUMENTS πŸ¦‹

  • ukinfo β€” the qp initialization info, aka the lore drop. this is where the setup tea lives πŸ’–
  • rq_depth β€” returns the depth of the RQ. yes bestie, it returns it β€” you're passing in a u32 * and she's gonna fill it in for you 🫢
  • rq_shift β€” returns the shift of the RQ. same situation, u8 *, she writes it, you read it 🌸
no cap: all three are pointers to stuff she reads or fills, so don't come at her with uninitialized nonsense πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

like, she does not exist in a vacuum, she has a whole friend group β€” all of them live in the kernel file ./drivers/infiniband/hw/irdma/uk.c and you already know they all have their own (9) main character energy:

iykyk 🌈 that's forty whole friends and every single one of them is worth a read, periodt.


πŸŽ€ sign-off πŸŽ€

this page lives in ./drivers/infiniband/hw/irdma, it's dated October 2026, and yeah, the title got truncated to irdma_uk_cal...pth_shift_rq(9) at the bottom too β€” she's consistent like that πŸ’€ anyway, go calculate some depth and shift bestie, you got this πŸ§šπŸ’œβ­

πŸ“¦ where this page comes from