from_fw_port_mod_type(9)
β¨ from_fw_port_mod_type(9) β¨
okay so bestie, welcome to the Kernel API Manual β we're looking at from_fw_port_mod_type(9) today and honestly? it's a little translator gig and it's lowkey iconic for it π
πΈ NAME πΈ
from_fw_port_mod_type β translate Firmware Port/Module type to Ethtool
like, it takes the firmware's vibes and re-expresses them in Ethtool language. a whole bilingual queen π«Ά
π SYNOPSIS π
int from_fw_port_mod_type (enum fw_port_type port_type , enum
fw_port_module_type mod_type );
that's the whole signature, no cap β returns an int, takes two enums, slays β¨
π¦ ARGUMENTS π¦
port_typeβ Firmware Port Type. yes bb, the port one πmod_typeβ Firmware Module Type. and this is the module one, they're a matching set fr fr π
π DESCRIPTION π
Translate Firmware Port/Module type to Ethtool Port Type.
that's it. that's the whole job. it takes the firmware port type and the firmware module type, and hands you back the Ethtool port type. a glow-up in enum form, periodt π₯
π SEE ALSO π
- Kernel file
./drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c cxgb4vf_change_mac(9)set_rxq_intr_params(9)fw_caps_to_lmm(9)cxgb4vf_get_port_mask(9)
go read those too bestie, the whole friend group is valid π
and that's the page!! π¦ sign-off time: this lil beauty comes from ./drivers/net/ethernet/chelsio..., dated October 2026, and it lives in the Kernel API Manual. mwah, go translate some port types πβ¨
π¦ 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