STRUCT RDMA_DEV_NET(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay so in the Kernel API Manual, struct rdma_dev_net is literally the rdma net namespace metadata for a net, bestie. that's the whole vibe. no cap.


πŸ¦‹ SYNOPSIS πŸ¦‹

the struct is giving:

struct rdma_dev_net {
    struct sock *nl_sock;
    possible_net_t net;
    u32 id;
 };

πŸ’… Members πŸ’…

  • nl_sock β€” pointer to netlink socket. yes, that pointer. iconic.
  • net β€” pointer to owner net namespace. it's giving ownership energy.
  • id β€” xarray id to identify the net namespace. the little identifier that says β€œthis one” 🫢.

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./drivers/infiniband/core/core_priv.h β€” go look if you want the receipts, iykyk ✨.

mwah πŸ’‹ this page is signed off from ./drivers/infiniband/core, dated October 2026, and it's lowkey part of the Kernel API Manual moment. periodt. 🌸

πŸ“¦ where this page comes from