i40e_dcbnl_g...g_bwg_cfg_rx(9)
π 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 π₯Ήβ¨
- Kernel file
./drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c i40e_get_pfc_delay(9)i40e_dcbnl_ieee_getets(9)i40e_dcbnl_ieee_getpfc(9)i40e_dcbnl_ieee_setets(9)i40e_dcbnl_ieee_setpfc(9)i40e_dcbnl_ieee_setapp(9)i40e_dcbnl_ieee_delapp(9)i40e_dcbnl_getstate(9)i40e_dcbnl_setstate(9)i40e_dcbnl_set_pg_tc_cfg_tx(9)i40e_dcbnl_set_pg_bwg_cfg_tx(9)i40e_dcbnl_set_pg_tc_cfg_rx(9)i40e_dcbnl_set_pg_bwg_cfg_rx(9)i40e_dcbnl_get_pg_tc_cfg_tx(9)i40e_dcbnl_get_pg_bwg_cfg_tx(9)i40e_dcbnl_get_pg_tc_cfg_rx(9)i40e_dcbnl_set_pfc_cfg(9)i40e_dcbnl_get_pfc_cfg(9)i40e_dcbnl_cee_set_all(9)i40e_dcbnl_get_cap(9)i40e_dcbnl_getnumtcs(9)i40e_dcbnl_setnumtcs(9)i40e_dcbnl_getpfcstate(9)i40e_dcbnl_setpfcstate(9)i40e_dcbnl_getapp(9)i40e_dcbnl_setdcbx(9)i40e_dcbnl_getdcbx(9)i40e_dcbnl_get_perm_hw_addr(9)i40e_dcbnl_set_all(9)i40e_dcbnl_vsi_del_app(9)i40e_dcbnl_del_app(9)i40e_dcbnl_find_app(9)i40e_dcbnl_flush_apps(9)i40e_dcbnl_setup(9)
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
- 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