rdma_cap_roce_gid_table(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’– NAME πŸ’–

okay bestie, welcome to the Kernel API Manual page for rdma_cap_roce_gid_table β€” yes, the function name is a mouthful, but she's iconic. This one checks if the port of a device uses roce_gid_table. No cap.

✨ SYNOPSIS ✨

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

πŸŽ€ ARGUMENTS πŸŽ€

  • device β€” the device to check. Like, which device are we checking, bestie? This one.
  • port_num β€” the port number to check. Gotta point at the exact port whose vibe we're verifying.

πŸ¦‹ DESCRIPTION πŸ¦‹

The RoCE GID table mechanism is the whole setup that manages the various GIDs for a device. It's giving "GID admin with main character energy," honestly.

⚠️ NOTE ⚠️

important heads-up, bestie: if allocating the port's GID table has failed, this call will still return true, but any RoCE GID table API will fail. So don't let that true fool you β€” the GID table APIs are not okay. 😭

πŸ’œ RETURN πŸ’œ

It returns true if the port uses RoCE GID table mechanism in order to manage its GIDs. That's the whole yes-energy vibe check. ✨

πŸ‘€ SEE ALSO πŸ‘€

okay, the related-pages group chat is large, and we are not skipping a single member. First, the kernel file: ./include/rdma/ib_verbs.h. Then all of these:

πŸ’– xoxo, bestie β€” sourced from ./include/rdma, dated October 2026, for rdma_cap_roce_gid_table(9). periodt. πŸ’–

πŸ“¦ where this page comes from