i40e_dcbnl_g...g_bwg_cfg_tx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_dcbnl_get_pg_bwg_cfg_tx β€” Kernel API Manual ✨

okay so bestie, this is a page straight out of the Kernel API Manual, and it's about one very specific little function. she's niche, she's Intel, she's doing exactly one job. let's get into it 🫢


🌸 NAME 🌸

i40e_dcbnl_get_pg_bwg_cfg_tx β€” get the CEE PG BW config, no cap πŸ’–


✨ SYNOPSIS ✨

void i40e_dcbnl_get_pg_bwg_cfg_tx (struct net_device *netdev , int pgid
, u8 *bw_pct );

she returns void btw β€” this one's all about what she writes into your pointer, not what she hands back. main character energy but make it indirect πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the corresponding netdev, aka the network device you're asking about πŸ¦‹
  • pgid β€” the corresponding traffic class (yes, the naming says "pg" and the description says "TC", that's just how it is, don't @ me) πŸ™ˆ
  • bw_pct β€” the BW percentage for the corresponding TC, and this is a u8 * so she's writing through your pointer, bestie ⭐

πŸ’œ DESCRIPTION πŸ’œ

Get the Tx BW settings for a given TC, in CEE mode. that's it. that's the whole vibe check. she fetches, she fills in, she leaves 🌈


πŸ”₯ SEE ALSO πŸ”₯

the kernel file lives at ./drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c β€” go pay her a visit, she's iconic πŸ‘‘

and here's the whole friend group, all 34 of them, not a single one skipped because we don't do that here πŸ’–:


lowkey the whole Tx/Rx PG/TC/BWG matrix is right there in that list β€” read the siblings, iykyk πŸ‘€

and that's the page! came to you from ./drivers/net/ethernet/intel/i40e, dated October 2026, filed under i40e_dcbnl_g...g_bwg_cfg_tx(9) β€” mwah, slay, go read your kernel source bestie πŸ’‹πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from