rvt_div_mtu(9)
πΈ rvt_div_mtu(9) β Kernel API Manual energy π
okay so bestie, welcome to the rvt_div_mtu page from the Kernel API Manual π
this is the whole glow-up of a very tiny function, and honestly? it's giving "small but mighty."
β¨ NAME β¨
rvt_div_mtu β shift-based divide π«
π¦ SYNOPSIS π¦
u32 rvt_div_mtu (struct rvt_qp *qp , u32 len );
that's it. that's the whole signature. two args, one u32 coming back atcha π₯
π ARGUMENTS π
qpβ the qp pair πlenβ the length π
π DESCRIPTION π
Perform a shift based mtu divide. that's the vibe. it divides by the mtu using a shift, no cap π§β¨
π SEE ALSO π
these are all the besties in the same kernel file, ./include/rdma/rdmavt_qp.h β go say hi π«Ά
struct rvt_ud_wr(9)struct rvt_krwq(9)rvt_get_swqe_ah_attr(9)rvt_get_swqe_remote_qpn(9)rvt_get_swqe_remote_qkey(9)rvt_get_swqe_pkey_index(9)rvt_get_rq_count(9)struct rvt_operation_params(9)rvt_is_user_qp(9)rvt_get_qp(9)rvt_put_qp(9)rvt_put_swqe(9)rvt_qp_wqe_reserve(9)rvt_qp_wqe_unreserve(9)rvt_div_round_up_mtu(9)rvt_timeout_to_jiffies(9)rvt_lookup_qpn(9)rvt_mod_retry_timer_ext(9)rvt_put_qp_swqe(9)rvt_qp_swqe_incr(9)rvt_recv_cq(9)rvt_send_cq(9)rvt_qp_complete_swqe(9)struct rvt_qp_iter(9)ib_cq_tail(9)ib_cq_head(9)rvt_free_rq(9)rvt_to_iport(9)rvt_rc_credit_avail(9)
aaaand that's the whole page, bestie π this one lives in ./include/rdma and it's dated October 2026 β so yeah, it's literally from the future, main character energy fr fr βπ mwah π
π¦ 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