ib_set_client_data(9)
π ib_set_client_data β Set IB client context π
okay so bestie, welcome to the Kernel API Manual entry for ib_set_client_data(9). This one's short and sweet β it's literally just "here, hold this pointer for a client on a device." Iconic minimalism, no notes. β¨
π«Ά SYNOPSIS π«Ά
void ib_set_client_data (struct ib_device *device , struct ib_client
*client , void *data );
π ARGUMENTS π
deviceβ the device you're setting context for π₯οΈclientβ the client you're setting context for π€dataβ the context you're setting, aka the lil payload π
π DESCRIPTION π
ib_set_client_data sets client context data β and the way you get it back later is with ib_get_client_data. Matching set, fr fr. π
β οΈ Big important vibe check: this can only be called while the client is registered to the device. Once the ib_client remove callback returns, this cannot be called. Not "shouldn't" β cannot. So don't be out here setting client data after the remove callback has peaced out. π
π₯ SEE ALSO π₯
Kernel file ./drivers/infiniband/core/device.c β and the whole squad, no cap:
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_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_gid(9)ib_find_pkey(9)ib_get_net_dev_by_params(9)
kisses bestie, this page came from the source at ./drivers/infiniband/core and it's dated October 2026 π«Άπ stay registered, stay retrieved β¨
π¦ 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