devlink_port_type_ib_set(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

Okay bestie, so you know that file devlink_port_type_ib_set? Yeah, that one from the Kernel API Manual. Sit down, grab a strawberry πŸ“, because this function is literally just here to say "hey, this port? It's InfiniBand now." No cap.


✨ NAME ✨

devlink_port_type_ib_set β€” sets the port type to InfiniBand, periodt. That's the whole vibe.


🌸 SYNOPSIS 🌸

void devlink_port_type_ib_set (struct devlink_port *devlink_port ,
       struct ib_device *ibdev );

Look at her. Two params, returns nothing (void β€” she gives, she doesn't take πŸ’…). Copy it exactly, iykyk.


πŸŽ€ ARGUMENTS πŸŽ€

  • devlink_port β€” the devlink port in question, your main character πŸŽ€
  • ibdev β€” the related IB device that goes with it, her plus-one πŸ¦‹

πŸ”₯ SEE ALSO πŸ”₯

Bestie, the whole friend group is in the kernel file ./net/devlink/port.c, and honestly? Obsessed. Here's everyone:

Like, that's the entire squad. Go read them. It's giving study group πŸ“šβœ¨


Ngl, this page is short and sweet β€” no warnings, no bugs, no scary undefined behaviour. Just a clean little setter. Slay. πŸ’…

πŸ’– That's the whole page, bestie! Brought to you by ./net/devlink β€” October 2026 β€” the devlink_port_type_ib_set(9) era. Catch you in the next man page, mwah! 🫢✨

πŸ“¦ where this page comes from