ib_get_cpi_capmask2(9)
π ib_get_cpi_capmask2(9) π
okay so bestie, welcome to the Kernel API Manual β yes we're in the kernel today, it's giving big-brain energy, and honestly? You're gonna slay this one because it is literally one function. One. π
β¨ NAME β¨
ib_get_cpi_capmask2 β returns the capmask2 value from cap_mask2_resp_time in ib_class_port_info. That's it, that's the whole vibe. π¦
πΈ SYNOPSIS πΈ
u32 ib_get_cpi_capmask2 (struct ib_class_port_info *cpi );
π ARGUMENTS π
cpiβ astruct ib_class_port_infomad. Just hand over the mad and she'll do her thing β¨
π SEE ALSO π
Kernel file ./include/rdma/ib_mad.h, plus a whole friend group of functions that are lowkey iconic:
ib_get_cpi_resp_time(9)ib_set_cpi_capmask2(9)opa_get_cpi_capmask2(9)ib_response_mad(9)ib_get_rmpp_resptime(9)ib_get_rmpp_flags(9)ib_set_rmpp_resptime(9)ib_set_rmpp_flags(9)ib_register_mad_agent(9)ib_unregister_mad_agent(9)ib_post_send_mad(9)ib_free_recv_mad(9)ib_modify_mad(9)ib_cancel_mad(9)ib_create_send_mad(9)ib_is_mad_class_rmpp(9)ib_get_mad_data_offset(9)ib_get_rmpp_segment(9)ib_free_send_mad(9)ib_mad_kernel_rmpp_agent(9)
no cap, that's genuinely the entire page. short and sweet, main character energy only π«Ά
and that's a wrap, bestie!! π this little gem lives in ./include/rdma, dated October 2026, and it's signed off as ib_get_cpi_capmask2(9) β go forth and get those capmasks, periodt. πβ
π¦ 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