ib_get_net_dev_by_params(9)
π
ib_get_net_dev_by_params(9) π
okay bestie, welcome to the Kernel API Manual β¨ this page is literally about ib_get_net_dev_by_params, and it's here to return the appropriate net_dev for a received CM request. no cap, that's the whole assignment. π«Ά
πΈ NAME πΈ
ib_get_net_dev_by_params β Return the appropriate net_dev for a received CM request.
π SYNOPSIS π
here's the signature, copy it exactly bestie:
struct net_device * ib_get_net_dev_by_params (struct ib_device *dev ,
u32 port , u16 pkey , const union ib_gid *gid , const struct sockaddr
*addr );
π§ ARGUMENTS π§
devβ An RDMA device on which the request has been received. that's the device the request showed up on, periodt. πportβ Port number on the RDMA device. the port, bestie. π₯pkeyβ The Pkey the request came on. yep, that exact Pkey. β¨gidβ A GID that thenet_devuses to communicate. it's giving communication GID. π¦addrβ Contains the IP address that the request specified as its destination. literally the destination IP address from the request. π
π¦ SEE ALSO π¦
Kernel file ./drivers/infiniband/core/device.c β plus the whole friend group:
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_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)
that's the tea, bestie π«Ά source/version: ./drivers/infiniband/core; date: October 2026; page: ib_get_net_dev_by_params(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