ib_query_netdev_port(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ib_query_netdev_port(9) β€” bestie edition πŸŽ€

okay so we're in the Kernel API Manual, and today's main character is ib_query_netdev_port 😌✨

🌸 NAME 🌸

ib_query_netdev_port β€” literally query the port number of a net_device associated with an ibdev. that's the whole vibe 🫢


✨ SYNOPSIS ✨

int ib_query_netdev_port (struct ib_device *ibdev , struct net_device
       *ndev , u32 *port );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • ibdev β€” the IB device, bestie. it's giving "the main one" πŸ’…
  • ndev β€” the network device. yes, that net_device πŸŽ€
  • port β€” the IB port the net_device is connected to. iconic output-param behavior, no cap ✨

πŸ‘‘ SEE ALSO πŸ‘‘

Kernel file ./drivers/infiniband/core/device.c β€” and here's the whole friend group, fr fr:


that's the page, bestie πŸ’– big sign-off energy: this one comes from ./drivers/infiniband/core, dated October 2026, and it's the ib_query_netdev_port(9) page from the Kernel API Manual. slay, periodt πŸŒˆβ­πŸ’œ

πŸ“¦ where this page comes from