fm10k_dcbnl_ieee_setpfc(9)
π fm10k_dcbnl_ieee_setpfc β no cap, this is the Kernel API Manual page bestie β¨
okay so picture this: you're deep in the kernel, you've got an Intel fm10k NIC, and you need the PFC config set. that's literally this function. it's giving "set the PFC configuration for the device" and honestly? iconic. π
β¨ NAME β¨
fm10k_dcbnl_ieee_setpfc β set the PFC configuration for the device π¦
like, that's the whole job. it sets the PFC config. for the device. periodt.
πΈ SYNOPSIS πΈ
int fm10k_dcbnl_ieee_setpfc (struct net_device *dev , struct ieee_pfc
*pfc );
so it hands you back an int (iykyk, that's the return situation), and it takes two args. two. that's it. we love a low-maintenance signature π«Ά
π ARGUMENTS π
devβ the netdev interface for the device. that's your NIC's whole identity bestie, treat her with respect πpfcβ the PFC structure to pull configuration from. this is the vibe source. we're pulling the config out of it, not the other way around π
π₯ SEE ALSO π₯
okay so the kernel file for all this lives at ./drivers/net/ethernet/intel/fm10k/fm10k_dcbnl.c β go read it if you're feeling main character energy π
and the whole friend group, in order:
fm10k_dcbnl_ieee_getets(9)fm10k_dcbnl_ieee_setets(9)fm10k_dcbnl_ieee_getpfc(9)fm10k_dcbnl_getdcbx(9)fm10k_dcbnl_setdcbx(9)fm10k_dcbnl_set_ops(9)
notice how there's a getpfc and a setpfc? yeah. they're a matched set. get it?? get/set?? I'll see myself out π
fr fr though: no extra behaviour is documented here, so don't go inventing semantics. this page tells you the name, the signature, the two arguments, and the friends. anything else is speculation and speculation is NOT the vibe π
okay that's the whole page, bestie π and a cute little sign-off: this came out of ./drivers/net/ethernet/intel/f... as part of the Kernel API Manual, dated October 2026, and it's all about fm10k_dcbnl_ieee_setpfc(9). slay, go set some PFC πβπ
π¦ 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