ice_devlink..._mode_to_str(9)
π ice_devlink_local_fwd_mode_to_str β Kernel API Manual, but make it make sense
okay so bestie, we're in the Kernel API Manual today and the star of the show is ice_devlink_local_fwd_mode_to_str(9). yes the page header got a little chopped (ice_devlink..._mode_to_str(9) β she's shy), but the real name is right there in the NAME section. let's go π
β¨ NAME β¨
ice_devlink_local_fwd_mode_to_str β grab yourself a string for the local_fwd mode. that's it, that's the whole job. iconic honestly π¦
πΈ SYNOPSIS πΈ
const char * ice_devlink_local_fwd_mode_to_str (enum ice_local_fwd_mode mode );
it returns a const char * and takes exactly one thing. lowkey minimal queen behavior π
π«Ά ARGUMENTS π«Ά
modeβ the local forwarding mode, the one used in theport_infostruct. that's the whole vibe check she needs from you π
π RETURN π
she gives you back the mode's respective string. and if the mode isn't a real one? you get "Invalid". fr fr, that's the fallback, no cap π
π SEE ALSO π
this list is long bestie, like genuinely main-character energy β buckle up π§
Kernel file ./drivers/net/ethernet/intel/ice/devlink/devlink.cice_devlink_info_get(9)ice_devlink_reload_empr_start(9)ice_devlink_reinit_down(9)ice_devlink_reload_down(9)ice_devlink_reload_empr_finish(9)ice_get_tx_topo_user_sel(9)ice_update_tx_topo_user_sel(9)ice_devlink_tx_sched_layers_get(9)ice_devlink_tx_sched_layers_set(9)ice_devlink_tx_sched_layers_validate(9)ice_tear_down_devlink_rate_tree(9)ice_enable_custom_tx(9)ice_traverse_tx_tree(9)ice_devlink_rate_init_tx_topology(9)ice_devlink_rate_clear_tx_topology(9)ice_set_object_tx_share(9)ice_set_object_tx_max(9)ice_set_object_tx_priority(9)ice_set_object_tx_weight(9)ice_get_pi_from_dev_rate(9)ice_devlink_reinit_up(9)ice_devlink_reload_up(9)ice_devlink_local_fwd_str_to_mode(9)ice_devlink_local_fwd_get(9)ice_devlink_local_fwd_set(9)ice_devlink_local_fwd_validate(9)ice_allocate_pf(9)ice_allocate_sf(9)ice_devlink_register(9)ice_devlink_unregister(9)ice_devlink_nvm_snapshot(9)ice_devlink_nvm_read(9)ice_devlink_devcaps_snapshot(9)ice_devlink_init_regions(9)ice_devlink_destroy_regions(9)
like, read the whole friend group, not just the one function π
okay and for the cute sign-off: this whole thing lives over in the kernel source at ./drivers/net/ethernet/intel/i... (yes, truncated, she's mysterious like that π), version-dated October 2026, and the footer goes by ice_devlink..._mode_to_str(9). mwah, go read the neighbors, bye bestie π
β¨
π¦ 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