opa_get_cpi_capmask2(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 β€” a struct opa_class_port_info mad. 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:

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 is opa_get_cpi_capmask2(9) β€” periodt 🌈⭐
πŸ“¦ where this page comes from