opa_get_cpi_capmask2(9)
π opa_get_cpi_capmask2(9) β the Kernel API Manual, bestie edition π
okay so real talk, this little function lives in the Kernel API Manual and it's lowkey one of those tiny helper besties that just does one thing and does it slayfully β¨
β¨ NAME β¨
opa_get_cpi_capmask2 β it hands you back the capmask2 value, pulled straight out of cap_mask2_resp_time inside ib_class_port_info. that's it, that's the whole vibe π¦
πΈ SYNOPSIS πΈ
u32 opa_get_cpi_capmask2 (struct opa_class_port_info *cpi );
that's the whole signature, no cap β returns a u32, takes one pointer, done π
π ARGUMENTS π
cpiβ astruct opa_class_port_infomad. yes, that's the actual one-liner and honestly? it's giving minimalism icon behavior. you pass in the struct, it's the mad in question, and we move on π«Ά
π₯ SEE ALSO π₯
the kernel file it hangs out in:
./include/rdma/ib_mad.h
and the whole friend group, in order, exactly as the original rolls call:
ib_get_cpi_resp_time(9)ib_get_cpi_capmask2(9)ib_set_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)
like, the whole ib_*_mad squad showed up to the group chat and honestly we're obsessed πβ¨
and that's the page!! π§ mwah, go read your structs, bestie π
source spot:./include/rdmaΒ· dated October 2026 Β· this iconic little entry isopa_get_cpi_capmask2(9)β 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