i40e_dcbnl_get_pfc_cfg(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

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

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