ib_enum_all_roce_netdevs(9)
π ib_enum_all_roce_netdevs(9) π
okay so welcome to the Kernel API Manual, bestie β this page is about ib_enum_all_roce_netdevs, and it's genuinely giving βletβs go find every RoCE deviceβ energy. β¨
πΈ NAME πΈ
ib_enum_all_roce_netdevs β enumerate all RoCE devices. no cap, thatβs the whole name situation. π
π SYNOPSIS π
void ib_enum_all_roce_netdevs (roce_netdev_filter filter , void
*filter_cookie , roce_netdev_callback cb , void *cookie );
π ARGUMENTS π
filterβ should we call the callback? π like, yes or no, bestie.filter_cookieβ the cookie that gets passed tofilter.cbβ the callback to call for each found RoCE ports. (yes, βportsβ plural β we are not editing the man pageβs grammar, periodt.)cookieβ the cookie that gets passed back to the callback.
π¦ DESCRIPTION π¦
okay so hereβs the vibe: it enumerates all RoCE devicesβ physical ports which are related to netdevices, and it calls callback on each device for which the filter function returns non zero. the callback is literally the main character here, and filter is the vibe check that decides who gets called. iconic behavior, honestly. β¨
πΈ SEE ALSO πΈ
the kernel file is ./drivers/infiniband/core/device.c, and hereβs the whole SEE ALSO squad β every single one, no skips, iykyk:
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_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)
okay bye bestie π«Ά this pageβs source/version is ./drivers/infiniband/core, dated October 2026, and itβs still ib_enum_all_roce_netdevs(9) β periodt. π
β¨
π¦ 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