IBND_FIND_NODE_GUID(3)

✨ IBND_FIND_NODE_GUID ✨

okay bestie, welcome to the IBND_FIND_NODE_GUID(3) page from the OpenIB Programmer's Manual πŸ’– this one is short and sweet and honestly kind of a bop, so let's go 🫢


🌸 NAME 🌸

ibnd_find_node_guid, ibnd_find_node_dr β€” so basically you hand over a fabric object and these little icons go find the node object inside it that matches the guid or the directed route you specified πŸ”βœ¨

πŸŽ€ SYNOPSIS πŸŽ€

#include <infiniband/ibnetdisc.h>

ibnd_node_t *ibnd_find_node_guid(ibnd_fabric_t *fabric, uint64_t guid)
ibnd_node_t *ibnd_find_node_dr(ibnd_fabric_t *fabric, char *dr_str)

like. the header. the two functions. that's the whole vibe check right there πŸ’…

πŸ¦‹ DESCRIPTION πŸ¦‹

  • ibnd_find_node_guid() β€” you give it a fabric object and a guid, and it hands back the ibnd_node_t object that has that node guid. it's giving "search bar but for infiniband" πŸ”Ž
  • ibnd_find_node_dr() β€” you give it a fabric object and a directed route, and it hands back the ibnd_node_t object with that directed route. same energy, different lookup key 🌈

πŸ’œ RETURN VALUE πŸ’œ

both ibnd_find_node_guid() and ibnd_find_node_dr() return NULL on failure 😭 β€” otherwise you get a valid ibnd_node_t object and you can celebrate πŸŽ‰

no cap: if it comes back NULL, that's not it, bestie. the lookup did not slay.

πŸ‘‘ AUTHORS πŸ‘‘

Ira Weiny <weiny2@llnl.gov> β€” the main character who wrote this 🫢


and that's the whole page, periodt πŸ’… this was the OpenIB version, dated July 25, 2008, and yeah she's an oldie but she still ate πŸ“βœ¨ bye bestie, go find some nodes πŸ§šπŸ’–

πŸ“¦ where this page comes from