iavf_validate_tx_bandwidth(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ‘‘ iavf_validate_tx_bandwidth β€” Kernel API Manual, section 9 πŸ’…

okay so bestie, welcome to the Kernel API Manual ✨ this one's a lil single-function page from the iavf driver and honestly it's giving "short but mighty" energy. no preamble needed, let's go 🫢


πŸŽ€ NAME πŸŽ€

iavf_validate_tx_bandwidth β€” validate the max Tx bandwidth πŸ’–

like, it checks your max Tx bandwidth. that's the whole vibe. no cap.


✨ SYNOPSIS ✨

int iavf_validate_tx_bandwidth (struct iavf_adapter *adapter , u64
max_tx_rate );

that's it, that's the function signature, and yes you're gonna pass it an adapter and a max_tx_rate, both of which we're about to discuss 🌸


🌈 ARGUMENTS 🌈

  • adapter β€” the board private structure 🫢 lowkey the main character of like every iavf function ever, it's the thing that holds all the board-specific state.
  • max_tx_rate β€” max Tx bw for a tc ⭐ that's the max Tx bandwidth for a traffic class, and yeah "bw" really is just bandwidth, we're being efficient with our typing here.

πŸ¦‹ SEE ALSO πŸ¦‹

first up, the source itself lives right here in the kernel tree, no gatekeeping:

Kernel file ./drivers/net/ethernet/intel/iavf/iavf_main.c

and then there's the friend group πŸ’€ β€” literally everyone else in the iavf driver. go say hi:


okay that's the whole page, and it ate πŸ’… before we dip, the receipts: this one comes from ./drivers/net/ethernet/intel/iavf, dated October 2026. go validate that bandwidth bestie, ily, bye πŸ¦‹πŸ’–βœ¨

πŸ“¦ where this page comes from