devlink_port_type_ib_set(9)
π devlink_port_type_ib_set β the Kernel API Manual tea π«Ά
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:
devlink_port_init(9)devlink_port_fini(9)devl_port_register_with_ops(9)devlink_port_register_with_ops(9)devl_port_unregister(9)devlink_port_unregister(9)devlink_port_type_eth_set(9)devlink_port_type_clear(9)devlink_port_attrs_set(9)devlink_port_attrs_pci_pf_set(9)devlink_port_attrs_pci_vf_set(9)devlink_port_attrs_pci_sf_set(9)devl_port_fn_devlink_set(9)devlink_port_linecard_set(9)
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
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms