fm10k_dcbnl_ieee_setpfc(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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:

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