ib_find_gid(9)
π¦ ib_find_gid(9) β Kernel API Manual π¦
Okay bestie, so this is ib_find_gid(9), and it's literally the Kernel API Manual page for the function that returns the port number and GID table index where a specified GID value occurs. Its searches only for IB link layer β the manpage literally says: Its searches only for IB link layer. No cap, that's the vibe π₯
π NAME π
ib_find_gid β returns the port number and GID table index where a specified GID value occurs. Its searches only for IB link layer. Periodt π
β¨ SYNOPSIS β¨
Here's the signature, bestie β keep it exactly like this:
int ib_find_gid (struct ib_device *device , union ib_gid *gid , u32
*port_num , u16 *index );
π ARGUMENTS π
deviceβ the device to query, like sliding into its DMs π¬gidβ the GID value to search for πport_numβ the port number of the device where the GID value was found π―indexβ the index into the GID table where the GID was found. This parameter may beNULLβ she's optional, no pressure π
π SEE ALSO π
Kernel file: ./drivers/infiniband/core/device.c β yes, that's the one, iykyk π«Ά
And here's the whole reference lineup, because we do not skip the "boring" parts in this house:
rdma_dev_access_netns(9)rdma_dev_has_raw_cap(9)ib_device_put(9)_ib_alloc_device(9)ib_dealloc_device(9)ib_port_immutable_read(9)ib_register_device(9)ib_unregister_device(9)ib_unregister_device_and_put(9)ib_unregister_driver(9)ib_unregister_device_queued(9)ib_register_client(9)ib_unregister_client(9)ib_get_client_nl_info(9)ib_set_client_data(9)ib_register_event_handler(9)ib_unregister_event_handler(9)ib_query_port(9)ib_device_set_netdev(9)ib_query_netdev_port(9)ib_device_get_by_netdev(9)ib_enum_roce_netdev(9)ib_enum_all_roce_netdevs(9)ib_device_enable_gid_updates(9)ib_device_disable_gid_updates(9)ib_query_pkey(9)ib_modify_device(9)ib_modify_port(9)ib_find_pkey(9)ib_get_net_dev_by_params(9)
Catch you later, bestie β this page is signed off from source/version ./drivers/infiniband/core, dated October 2026, and it's still ib_find_gid(9) π
β¨ slay and stay hydrated π¦
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms