ib_get_net_dev_by_params(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the net_dev uses 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:


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