ice_sched_g...e_rl_prof_id(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… ice_sched_get_node_rl_prof_id β€” the Kernel API Manual glow-up ✨

okay bestie, welcome to the <pink>Kernel API Manual</pink> πŸ’– the page you just opened is ice_sched_g...e_rl_prof_id(9) (yes the title is truncated with dots, that's just how the man page renders it, no cap, it's giving "name too long for the sidebar") and honestly? she's a little function with one job and she does it. πŸŽ€


✨ NAME ✨

ice_sched_get_node_rl_prof_id β€” get node's rate limit profile ID 🌸

like literally that's it, that's the whole personality. she fetches you the rate limit profile ID for a node. 🫢


πŸ¦‹ SYNOPSIS πŸ¦‹

u16 ice_sched_get_node_rl_prof_id (struct ice_sched_node *node , enum
       ice_rl_type rl_type );

the signature, exactly as written, don't come for me about the spacing, I'm just the messenger 😭


πŸ’œ ARGUMENTS πŸ’œ

  • node β€” sched node πŸ‘‘ this is the scheduling node you're asking about, the main character of this whole operation.
  • rl_type β€” rate limit type ⭐ the flavor of rate limit you want the profile ID for.

🌈 DESCRIPTION 🌈

so here's the tea β˜• β€” if an existing profile matches, ice_sched_get_node_rl_prof_id returns the corresponding rate limit profile ID for that node. slay. πŸ’…

and if nothing matches? she doesn't improvise, she doesn't guess, she does not make something up to be nice. instead she returns an invalid ID as an error. 🫠 so like, vibe check your return value, bestie β€” an invalid ID means no match was found, periodt.

no in-between behaviour, no secret third thing β€” match = profile ID, no match = invalid ID returned as error. that's the whole deal. πŸ™ˆ

πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./drivers/net/ethernet/intel/ice/ice_sched.c β€” go read it, iykyk πŸ’€ and then there's the whole extended friend group, in the exact order the page lists them, no skipping, no summaries, we respect the roster:

ice_sched_add_root_node(9), ice_sched_find_node_by_teid(9), ice_sched_find_next_vsi_node(9), ice_aqc_send_sched_elem_cmd(9), ice_aq_query_sched_elems(9), ice_sched_add_node(9), ice_aq_delete_sched_elems(9), ice_sched_remove_elems(9), ice_sched_get_first_node(9), ice_sched_get_tc_node(9), ice_free_sched_node(9), ice_aq_get_dflt_topo(9), ice_aq_add_sched_elems(9), ice_aq_cfg_sched_elems(9), ice_aq_move_sched_elems(9), ice_aq_suspend_sched_elems(9), ice_aq_resume_sched_elems(9), ice_aq_query_sched_res(9), ice_sched_suspend_resume_elems(9), ice_alloc_lan_q_ctx(9), ice_alloc_rdma_q_ctx(9), ice_aq_rl_profile(9), ice_aq_add_rl_profile(9), ice_aq_remove_rl_profile(9), ice_sched_del_rl_profile(9), ice_sched_clear_rl_prof(9), ice_sched_clear_agg(9), ice_sched_clear_tx_topo(9), ice_sched_clear_port(9), ice_sched_cleanup_all(9), ice_sched_add_elems(9), ice_sched_add_nodes_to_hw_layer(9), ice_sched_add_nodes_to_layer(9), ice_sched_get_qgrp_layer(9), ice_sched_get_vsi_layer(9), ice_sched_get_agg_layer(9), ice_rm_dflt_leaf_node(9), ice_sched_rm_dflt_nodes(9), ice_sched_init_port(9), ice_sched_query_res_alloc(9), ice_sched_get_psm_clk_freq(9), ice_sched_find_node_in_subtree(9), ice_sched_get_free_qgrp(9), ice_sched_get_free_qparent(9), ice_sched_get_vsi_node(9), ice_sched_get_agg_node(9), ice_sched_calc_vsi_child_nodes(9), ice_sched_add_vsi_child_nodes(9), ice_sched_calc_vsi_support_nodes(9), ice_sched_add_vsi_support_nodes(9), ice_sched_add_vsi_to_topo(9), ice_sched_recalc_vsi_support_nodes(9), ice_sched_update_vsi_child_nodes(9), ice_sched_cfg_vsi(9), ice_sched_rm_agg_vsi_info(9), ice_sched_is_leaf_node_present(9), ice_sched_rm_vsi_subtree(9), ice_sched_rm_vsi_cfg(9), ice_rm_vsi_lan_cfg(9), ice_rm_vsi_rdma_cfg(9), ice_get_agg_info(9), ice_sched_get_free_vsi_parent(9), ice_sched_update_parent(9), ice_sched_move_nodes(9), ice_sched_move_vsi_to_agg(9), ice_move_all_vsi_to_dflt_agg(9), ice_sched_is_agg_inuse(9), ice_sched_rm_agg_cfg(9), ice_rm_agg_cfg_tc(9), ice_save_agg_tc_bitmap(9), ice_sched_add_agg_cfg(9), ice_sched_cfg_agg(9), ice_cfg_agg(9), ice_get_agg_vsi_info(9), ice_get_vsi_agg_info(9), ice_save_agg_vsi_tc_bitmap(9), ice_sched_assoc_vsi_to_agg(9), ice_sched_rm_unused_rl_prof(9), ice_sched_update_elem(9), ice_sched_cfg_node_bw_alloc(9), ice_move_vsi_to_agg(9), ice_set_clear_cir_bw(9), ice_set_clear_eir_bw(9), ice_set_clear_shared_bw(9), ice_sched_save_vsi_bw(9), ice_sched_calc_wakeup(9), ice_sched_bw_to_rl_profile(9), ice_sched_add_rl_profile(9), ice_sched_cfg_node_bw_lmt(9), ice_sched_get_rl_prof_layer(9), ice_sched_get_srl_node(9), ice_sched_rm_rl_profile(9), ice_sched_set_node_bw_dflt(9), ice_sched_set_eir_srl_excl(9), ice_sched_set_node_bw(9), ice_sched_set_node_priority(9), ice_sched_set_node_weight(9), ice_sched_set_node_bw_lmt(9), ice_sched_set_node_bw_dflt_lmt(9), ice_sched_validate_srl_node(9), ice_sched_save_q_bw(9), ice_sched_set_q_bw_lmt(9), ice_cfg_q_bw_lmt(9), ice_cfg_q_bw_dflt_lmt(9), ice_sched_get_node_by_id_type(9), ice_sched_set_node_bw_lmt_per_tc(9), ice_cfg_vsi_bw_lmt_per_tc(9), ice_cfg_vsi_bw_dflt_lmt_per_tc(9), ice_cfg_rl_burst_size(9), ice_sched_replay_node_prio(9), ice_sched_replay_node_bw(9), ice_sched_get_ena_tc_bitmap(9), ice_sched_replay_agg(9), ice_sched_replay_agg_vsi_preinit(9), ice_sched_replay_vsi_agg(9), ice_replay_vsi_agg(9), ice_sched_replay_q_bw(9)


and that's the page!! ✨ this lil gem ships from ./drivers/net/ethernet/intel/ice and is dated October 2026 πŸ—“οΈ β€” so yeah, she's from the future, she's iconic, she's ice_sched_g...e_rl_prof_id(9) under the Kernel API Manual, and she ate. bye bestie, go check your return values πŸ’–πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from