ib_unregister_driver(9)
π ib_unregister_driver(9) β a Kernel API Manual moment
okay so bestie, welcome to ib_unregister_driver(9), straight out of the Kernel API Manual β¨ this one's short but it matters, so grab your lil iced coffee and let's go π
πΈ NAME πΈ
ib_unregister_driver β unregister all IB devices for a driver π like, every single one of them, no stragglers
β¨ SYNOPSIS β¨
void ib_unregister_driver (enum rdma_driver_id driver_id );
that's it. one arg. void return, so nothing comes back β she just does the thing and leaves π
π«Ά ARGUMENTS π«Ά
driver_idβ the driver you're unregistering, bestie. that's the one. point at it and say bye π¦
π₯ DESCRIPTION π₯
okay so this function is literally a fence for device unregistration π§ it's giving "wait for everyone to leave the party before you lock up."
it only returns once all devices associated with the driver_id have fully completed their unregistration and have returned from ib_unregister_device*() β like, actually returned, not "yeah I'm basically done" π no cap, it waits.
if devices are not yet unregistered? it goes ahead and starts unregistering them for you. very main character energy: it doesn't wait around for permission, it just gets it done β
π BUT β and this is the important part β this does NOT block creation of new devices with the given driver_id. that responsibility belongs to the caller. yep. that's on you, bestie. it's your job, not hers π«‘
π SEE ALSO π
Kernel file ./drivers/infiniband/core/device.c β iykyk, that's where the magic lives π§
and the whole squad, fr fr:
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_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_gid(9)ib_find_pkey(9)ib_get_net_dev_by_params(9)
π and that's the page!! π this lil beauty lives in ./drivers/infiniband/core, dated October 2026 β mwah, iconic, no notes ππ¦β¨π
π¦ 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