rdma_cap_af_ib(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

okay bestie, welcome to rdma_cap_af_ib(9) from the Kernel API Manual ✨ β€” and its whole entire job is checking if the port of device has the capability Native Infiniband Address. That’s the vibe, that’s the function, periodt πŸ’….

✨ SYNOPSIS ✨

here’s the exact signature, no cap:

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

πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” Device to check. Like, the device we’re checking, obviously 🫢.
  • port_num β€” Port number to check. Which port we’re asking about, bestie.

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so real talk: InfiniBand addressing uses a port’s GUID + Subnet Prefix to make a default GID πŸ‘‘. RoCE is out here using a different mechanism, but it still generates a GID via a prescribed mechanism and port specific data. Different route, same little address-making moment ✨.

πŸ’– RETURN πŸ’–

It gives you true if the port uses a GID address to identify devices on the network. That’s the whole return situation, iconic and simple 🌸.

🌈 SEE ALSO 🌈

the whole friend group is here β€” do not skip a single one, bestie πŸ’œ:


xoxo, your kernel bestie 🫢 β€” this page is from source/version ./include/rdma, dated October 2026, and yes it lives in the Kernel API Manual πŸ’…βœ¨.

πŸ“¦ where this page comes from