i40e_dcbnl_g...g_bwg_cfg_rx(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_dcbnl_get_pg_bwg_cfg_rx β€” get the CEE PG BW Rx config, bestie ✨

okay so this is a page from the Kernel API Manual, and yes the function name up top is all dimmed down to i40e_dcbnl_g...g_bwg_cfg_rx(9) β€” that's just the header being lazy, the actual star of the show is i40e_dcbnl_get_pg_bwg_cfg_rx. Let's get into it 🫢


🌸 NAME 🌸

i40e_dcbnl_get_pg_bwg_cfg_rx β€” Get CEE PG BW Rx config ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

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

like, she's a void function, she takes three things, and she does not return anything to you. no cap πŸ’€


πŸŽ€ ARGUMENTS πŸŽ€

  • netdev β€” the corresponding netdev πŸ’– (your network device, the whole reason we're here)
  • pgid β€” the corresponding traffic class 🌈
  • bw_pct β€” the BW percentage for the corresponding TC ⭐

πŸ‘‘ DESCRIPTION πŸ‘‘

okay so what this does is: it gets the Rx BW settings for a given TC in CEE mode. periodt. ✨

but here's the plot twist β€” and honestly it's giving "the homework was already done for you": the adapter doesn't support Rx ETS and runs in strict priority mode in the Rx path, and hence just return 0. 🫠

so like, the vibes are: you ask for bandwidth percentages, and the answer is zero because the hardware said "not today bestie". iconic honestly πŸ’…

ngl this is a "we return 0 and we're not sorry about it" situation β€” nothing dangerous, just the adapter being built different on the Rx side πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

the whole friend group is here, and yes we're listing every single one of them because nobody gets left out πŸ₯Ήβœ¨


and that's the whole page, bestie πŸ’– this one lives in ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's filed under i40e_dcbnl_g...g_bwg_cfg_rx(9) β€” so if you forget it, that's literally where to find it πŸŽ€βœ¨ slay πŸ’…

πŸ“¦ where this page comes from