i40e_dcbnl_get_pfc_cfg(9)
π i40e_dcbnl_get_pfc_cfg β like, the Kernel API Manual page, bestie β¨
Okay so picture this: you're deep in the kernel, you open the manual, and the page is literally called i40e_dcbnl_get_pfc_cfg. That's the whole vibe. It lives in the Kernel API Manual, and honestly? It's giving "small function, big friend group." Let's get into it π
β¨ SYNOPSIS β¨
void i40e_dcbnl_get_pfc_cfg (struct net_device *netdev , int prio , u8
*setting );
That's it. Three args, returns void β so no return value to obsess over, she just does her thing and dips π«Ά
π ARGUMENTS π
netdevβ the corresponding netdev π« like, the network device we're talking about, the main character of this whole situation.prioβ the corresponding user priority πΈ which priority slot we're peeking at, bestie.settingβ the PFC setting for given priority β¨ this is where the answer goes. Not a return value, she fills in your pointer. Iconic behavior, no cap.
π¦ DESCRIPTION π¦
Get the PFC enabled/disabled setting for given user priority π
That's the whole job fr fr β you hand her a priority, she tells you whether PFC is enabled or disabled for it. Lowkey simple, highkey useful. Not me being obsessed with a getter function but here we are π
π SEE ALSO π
The kernel file this bad girl lives in:
./drivers/net/ethernet/intel/i40e/i40e_dcb_nl.c
And the whole squad β her entire friend group, all documented, all linked, all slaying in their own pages π:
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_get_pg_bwg_cfg_rx(9)i40e_dcbnl_set_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)
Like, that's a lot of cross-references and every single one of them is staying. Periodt. π
Quick vibe check before you go: this page is from the ./drivers/net/ethernet/intel/i40e source tree, dated October 2026, and it's part of the Kernel API Manual. Mwah, go read the source, ily π§π
π¦ 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