irdma_get_cmevent_info(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– irdma_get_cmevent_info(9)

okay so bestie, welcome to the group chat that is the Kernel API Manual (section 9, obviously) β€” this one's about irdma_get_cmevent_info, and the whole personality of this function is "for cm event upcall". that's it. that's the thesis. it hands info up to the cm event upcall, and honestly? slay. let's get into it πŸ’…


πŸŽ€ NAME

irdma_get_cmevent_info β€” for cm event upcall ✨

that's the entire vibe of the NAME section and we respect it. no notes.


✨ SYNOPSIS

it returns void, meaning it gives you nothing back β€” it's giving generous, it's giving "the real info was the structs we filled along the way" πŸ¦‹

void irdma_get_cmevent_info (struct irdma_cm_node *cm_node , struct iw_cm_id *cm_id , struct iw_cm_event *event );

three pointers in, zero return value out. iconique behavior honestly.


🫢 ARGUMENTS

three params, three little besties, all of them pointers, all of them required:

  • cm_node β€” connection's node 🌸 like, this is the cm node for the connection we're talking about. the source of truth. the main character.
  • cm_id β€” upper layers cm struct for the event πŸ‘‘ this is the upper layer's cm struct, the one that's getting the event. it lives upstairs. we respect it.
  • event β€” upper layer's cm event πŸŽ€ and this is the upper layer's cm event itself. the thing being populated. the reason we're all here.

so: node ➑️ cm struct ➑️ event. a little chain of custody, and every one of them is a pointer, no cap 🫑


🌈 SEE ALSO

okay so this is the part where I need you to sit down, hydrate, and take a breath πŸ“ because the SEE ALSO section on this page is unhinged in the best way β€” it's an entire friend group of kernel functions, and per the page they all live around Kernel file ./drivers/infiniband/hw/irdma/cm.c. here's the whole squad, in order, nobody left behind, periodt:

ninety-one functions. ninety-one!! and every single one of them is a (9) baddie living in the kernel manual. the way that list just keeps going β€” I'm obsessed 😭πŸ”₯

also lowkey: the page points you at Kernel file ./drivers/infiniband/hw/irdma/cm.c for the actual source, so go say hi to it there. iykyk.

like, comment, subscribe, and remember: this page came straight out of ./drivers/infiniband/hw/irdma, dated October 2026, and it's irdma_get_cmevent_info(9) forever and always. go fill those structs bestie, you got this πŸ’œπŸ¦‹βœ¨

πŸ“¦ where this page comes from