ice_min_tx_r...ersubscribed(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 configure min_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:

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