devlink_port_type_eth_set(9)
π
NAME β devlink_port_type_eth_set(9) from the Kernel API Manual π
Okay bestie, this is devlink_port_type_eth_set β Set port type to Ethernet. That's the whole name, and it's serving exactly what it says. β¨
π SYNOPSIS π
void devlink_port_type_eth_set (struct devlink_port *devlink_port );
π«Ά ARGUMENTS π«Ά
devlink_portβ devlink port. (yes, that's literally the description, the manpage is being cute and mysterious π)
π DESCRIPTION π
So here's the tea: if a driver is calling this, most likely it is doing something wrong. Not a drill, bestie. π©
π vibe check warning: if a driver is calling this, most likely it is doing something wrong. Keep that in mind, iykyk.
π SEE ALSO π
Kernel file ./net/devlink/port.c plus this whole iconic friend group of (9) pages:
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_ib_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)
mwah π that's the page β footer details for the record: source/version ./net/devlink, dated October 2026, manual title devlink_port_type_eth_set(9). byeee π¦
π¦ 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