irdma_cm_te..._connections(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… irdma_cm_te..._connections(9) β€” bestie's kernel api manual era

okay so welcome to irdma_cm_te..._connections(9), a page straight out of the Kernel API Manual πŸ’–, and honestly? she's short, she's sweet, she tears down QPs. no cap.


🌸 NAME 🌸

irdma_cm_teardown_connections β€” teardown QPs ✨

πŸŽ€ SYNOPSIS πŸŽ€

void irdma_cm_teardown_connections (struct irdma_device *iwdev , u32
*ipaddr , struct irdma_cm_info *nfo , bool disconnect_all );

that's the whole signature, icon, don't scroll past her 🫢

πŸ¦‹ ARGUMENTS πŸ¦‹

so these are the four besties she takes, in order, and every one of them matters:

  • iwdev β€” device pointer πŸ‘‘ literally the device you're working with.
  • ipaddr β€” Pointer to IPv4 or IPv6 address 🌈 note that it's a u32 *, and it's holding either kind of address, so pay attention bestie.
  • nfo β€” Connection info πŸ’Œ the connection info struct, main character of the connection-info department.
  • disconnect_all β€” flag indicating disconnect all QPs πŸ’€ yes, a flag, and yes, it means what it says: disconnect all the QPs.

πŸ”₯ DESCRIPTION πŸ”₯

teardown QPs where source or destination addr matches ip addr ✨

like, that's it, that's the whole vibe. she looks at the source and destination addresses on the QPs and if either one matches the ip addr, that QP gets torn down. matching energy only, iykyk 🧚

⭐ SEE ALSO ⭐

the kernel file lives right here, bestie: ./drivers/infiniband/hw/irdma/cm.c πŸ“

and now the friend group β€” the whole group chat, every single one, no one left on read πŸ’œ:

yeah that's a lot of siblings but we love a big family 🌸


okay that's the whole page bestie, go tear down some QPs responsibly πŸ’…βœ¨

source/version: ./drivers/infiniband/hw/irdma Β· dated October 2026 Β· and yes the footer still says irdma_cm_te..._connections(9) because she's consistent like that πŸŽ€πŸ’–
πŸ“¦ where this page comes from