rdma_hold_gid_attr(9)
π NAME π
rdma_hold_gid_attr β Get reference to existing GID attribute π
okay so this is rdma_hold_gid_attr(9), straight out of the Kernel API Manual, and it's literally the βget a reference to an existing GID attributeβ page. Bestie, it's giving reference-count realness. π
β¨ SYNOPSIS β¨
void rdma_hold_gid_attr (const struct ib_gid_attr *attr );
π«Ά ARGUMENTS π«Ά
attrβ pointer to the GID attribute whose reference needs to be taken. You're pointing at the GID attribute, and the reference is what we're taking here. No cap.
π DESCRIPTION π
This increases the reference count to a GID attribute to keep it from being freed. It's the hold-onto-it move, and it's lowkey important. π¦
Callers are required to already be holding a reference to attribute. Yes, that's a requirement, bestie β don't skip it. π«Ά
π¦ SEE ALSO π¦
All the cross-refs, bestie:
- Kernel file
./drivers/infiniband/core/cache.c free_gid_work(9)del_gid(9)add_modify_gid(9)rdma_find_gid_by_port(9)rdma_find_gid_by_filter(9)rdma_query_gid(9)rdma_read_gid_hw_context(9)rdma_find_gid(9)rdma_get_gid_attr(9)rdma_query_gid_table(9)rdma_put_gid_attr(9)rdma_read_gid_attr_ndev_rcu(9)rdma_read_gid_l2_fields(9)ib_dispatch_event(9)
Mwah π β this page is from ./drivers/infiniband/core, dated October 2026, and it's literally rdma_hold_gid_attr(9). Byeee π«Ά
π¦ 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