ib_rate_to_mult(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ NAME ✨

okay bestie, welcome to ib_rate_to_mult(9) β€” yes, this is the Kernel API Manual page and it's giving small-function-big-converter energy. It converts the IB rate enum to a multiple of the base rate of 2.5 Gbit/sec. For example, IB_RATE_5_GBPS will be converted to 2, since 5 Gbit/sec is 2 * 2.5 Gbit/sec. the math? ate. πŸ’…

🌸 SYNOPSIS 🌸

int ib_rate_to_mult (enum ib_rate rate );

πŸŽ€ ARGUMENTS πŸŽ€

  • rate β€” rate to convert. that's the assignment, bestie: the enum value goes in, the conversion happens, no extra side quests.

πŸ¦‹ SEE ALSO πŸ¦‹

okay so the extended friend group is huge and we are not skipping a single one. The kernel file is ./include/rdma/ib_verbs.h, and the whole squad is:

mwah πŸ’‹ β€” source ./include/rdma, dated October 2026, page ib_rate_to_mult(9). that's the whole page, bestie, go forth and convert 🫢

πŸ“¦ where this page comes from