rdma_cap_ib_smi(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

Okay bestie, this is the rdma_cap_ib_smi(9) page from the Kernel API Manual, and it's here to check if the port of a device provides an Infiniband Subnet Management Agent (SMA) on the Subnet Management Interface (SMI). πŸ’…

✨ SYNOPSIS ✨

bool rdma_cap_ib_smi (const struct ib_device *device , u32 port_num );

πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” Device to check. The device getting the look πŸ‘€
  • port_num β€” Port number to check. Which port on that device gets checked 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Okay so every InfiniBand node is required to provide a Subnet Management Agent (SMA) that the subnet manager (SM) can access. Before the fabric is fully configured by the subnet manager, the SMA is accessed via a well-known interface called the Subnet Management Interface (SMI). This interface uses directed route packets to communicate with the SM, and that's how it gets around the chicken-and-egg problem: the SM needs to know what's on the fabric in order to configure the fabric, and it needs to configure the fabric in order to send packets to the devices on the fabric.

Directed route packets do not need the fabric fully configured in order to reach their destination. The SMI is the only method allowed to send directed route packets on an InfiniBand fabric β€” periodt. πŸ‘‘

🌸 RETURN 🌸

It returns true if the port provides an SMI. That's the whole vibe check βœ…

πŸ’– SEE ALSO πŸ’–

The SEE ALSO squad is huge, and every single one is invited β€” no skips, no cap:


Cute little sign-off: this page came from the source/version footer ./include/rdma, dated October 2026 β€” mwah πŸ’‹βœ¨

πŸ“¦ where this page comes from