ice_devlink_...pt_speed_str(9)
π ice_devlink_port_opt_speed_str β kernel API manual, but make it cute
okay so bestie, welcome to the ice_devlink_...pt_speed_str(9) page β¨ (yes the title got truncated, that's just how the kernel rolls, we don't question it π). This is one of those tiny legend functions that lives in the Intel ice driver's devlink port code, and honestly? She's short, she's sweet, she does exactly one thing. Let's get into it.
πΈ NAME πΈ
ice_devlink_port_opt_speed_str β convert speed to a string π«
That's it. That's the whole gig. You hand her a speed, she hands you back a string. Iconic behaviour, no notes π
β¨ SYNOPSIS β¨
const char * ice_devlink_port_opt_speed_str (u8 speed );
so she takes one u8 called speed and returns a const char *. Simple. Clean. The way she ate that up and left no crumbs π
π¦ ARGUMENTS π¦
speedβ the speed value ποΈ like, the raw number you're tryna turn into human-readable text. That's the whole argument. She's not picky, she's not complicated, she just wants yourspeed.
π«Ά SEE ALSO π«Ά
okay buckle up bestie because the friend group is large and they're all in the kernel file ./drivers/net/ethernet/intel/ice/devlink/port.c π β go say hi to the whole squad:
ice_devlink_port_options_print(9)ice_devlink_aq_set_port_option(9)ice_devlink_port_split(9)ice_devlink_port_unsplit(9)ice_devlink_set_port_split_options(9)ice_devlink_set_switch_id(9)ice_devlink_create_pf_port(9)ice_devlink_destroy_pf_port(9)ice_devlink_port_get_vf_fn_mac(9)ice_devlink_port_set_vf_fn_mac(9)ice_devlink_create_vf_port(9)ice_devlink_destroy_vf_port(9)ice_devlink_create_sf_dev_port(9)ice_devlink_destroy_sf_dev_port(9)ice_activate_dynamic_port(9)ice_deactivate_dynamic_port(9)ice_dealloc_dynamic_port(9)ice_dealloc_all_dynamic_ports(9)ice_devlink_port_new_check_attr(9)ice_devlink_port_del(9)ice_devlink_port_fn_hw_addr_set(9)ice_devlink_port_fn_hw_addr_get(9)ice_devlink_port_fn_state_set(9)ice_devlink_port_fn_state_get(9)ice_reserve_sf_num(9)ice_devlink_create_sf_port(9)ice_devlink_destroy_sf_port(9)ice_alloc_dynamic_port(9)ice_devlink_port_new(9)
like I said. huge friend group. all of them live in ./drivers/net/ethernet/intel/i... (the path gets cut off in the footer too, the truncation is a whole vibe at this point π) and honestly every single one of them is worth a read π
mwah π that's the page! source + version + date drop: this one's stamped October 2026 and it came to you from the kernel docs, footer included, no cap. stay slay, keep your strings const, and never forget to check your speed πβ¨
π¦ 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