ice_min_tx_r...ersubscribed(9)
π
ice_min_tx_rate_oversubscribed β kernel API, section 9
okay bestie so this is a page out of the Kernel API Manual (section 9, the kernel internals one, not the "type man ls" one β¨) and it's about one single tiny bouncer function that checks whether a VF is about to be way too greedy with its minimum Tx rate. it's giving security-guard-at-the-club energy π
β¨ NAME β¨
ice_min_tx_rate_oversubscribed β check if min Tx rate causes oversubscription
like, literally just that. it peeks at the number you're trying to set and goes "mm, no bestie, that's too much" π
πΈ SYNOPSIS πΈ
bool ice_min_tx_rate_oversubscribed (struct ice_vf *vf , int min_tx_rate );
returns a bool, takes a struct ice_vf * and an int. simple. clean. iconic. π
π¦ ARGUMENTS π¦
vfβ the VF that's trying to configuremin_tx_rate. it's the one standing at the counter with its little request form π«Άmin_tx_rateβ min Tx rate in Mbps. this is the number being put up for approval π
π DESCRIPTION π
so here's the vibe: this function checks whether the min_tx_rate being passed in will cause oversubscription of total min_tx_rate β and it figures that out based on the current link speed plus all the other VFs' already-configured min_tx_rate. ngl it's doing math on behalf of everybody else in the group chat π₯
Return true if the passed min_tx_rate would cause oversubscription, else return false.
that's it. that's the whole function. true = nope, too much, denial. false = you're good, go off π
π SEE ALSO π
the source lives right here, miss thing:
Kernel file ./drivers/net/ethernet/intel/ice/ice_sriov.c
and here's the whole extended friend group β every single one of these is a real (9) page, no cap:
ice_free_vf_entries(9)ice_free_vf_res(9)ice_dis_vf_mappings(9)ice_free_vfs(9)ice_vf_vsi_setup(9)ice_ena_vf_msix_mappings(9)ice_ena_vf_q_mappings(9)ice_ena_vf_mappings(9)ice_calc_vf_reg_idx(9)ice_set_per_vf_res(9)ice_init_vf_vsi_res(9)ice_start_vfs(9)ice_sriov_free_vf(9)ice_sriov_clear_reset_state(9)ice_sriov_clear_mbx_register(9)ice_sriov_trigger_reset_register(9)ice_sriov_poll_reset_status(9)ice_sriov_clear_reset_trigger(9)ice_sriov_post_vsi_rebuild(9)ice_create_vf_entries(9)ice_ena_vfs(9)ice_pci_sriov_ena(9)ice_check_sriov_allowed(9)ice_sriov_get_vf_total_msix(9)ice_sriov_set_msix_vec_count(9)ice_sriov_configure(9)ice_process_vflr_event(9)ice_get_vf_from_pfq(9)ice_globalq_to_pfq(9)ice_vf_lan_overflow_event(9)ice_set_vf_spoofchk(9)ice_get_vf_cfg(9)__ice_set_vf_mac(9)ice_set_vf_mac(9)ice_setup_vf_trust(9)ice_set_vf_trust(9)ice_set_vf_link_state(9)ice_calc_all_vfs_min_tx_rate(9)ice_set_vf_bw(9)ice_get_vf_stats(9)ice_is_supported_port_vlan_proto(9)ice_set_vf_port_vlan(9)ice_print_vf_rx_mdd_event(9)ice_print_vf_tx_mdd_event(9)ice_print_vfs_mdd_events(9)ice_restore_all_vfs_msi_state(9)
like okay that's a lot of siblings but they're all valid and we love them equally π§
heads up babe: ice_calc_all_vfs_min_tx_rate(9) in that list is lowkey the accomplice here β it's the one doing the total across all VFs. this page just does the verdict π
that's the whole page, no filler, no sketchy extra claims, we keep the facts exactly as they came π source path is ./drivers/net/ethernet/intel/ice, and this little beauty is dated October 2026 β see you in the next one, mwah ππβ¨
π¦ 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