i40e_dcbnl_setpfcstate(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… i40e_dcbnl_setpfcstate β€” Set CEE PFC mode

okay so bestie, welcome to the Kernel API Manual, section 9 β€” this is the page for i40e_dcbnl_setpfcstate, and honestly? she's a little icon with a big secret (the secret is that she doesn't actually set anything, more on that below πŸ‘€).


🌸 NAME 🌸

i40e_dcbnl_setpfcstate β€” Set CEE PFC mode ✨


πŸŽ€ SYNOPSIS πŸŽ€

void i40e_dcbnl_setpfcstate (struct net_device *netdev , u8 state );

returns nothing, takes two things, that's the whole vibe 🫢


πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” the corresponding netdev πŸ’– (yes, that netdev, the one you brought with you)
  • state β€” the required state ⭐

πŸ’œ DESCRIPTION πŸ’œ

So here's the tea, and it's giving plot twist: this is the PFC state to be set β€” but for the i40e driver, it's enabled/disabled based on the PFC priority settings, and not via this call. 🫠

Like, no cap, the call is there, the state is there, and the driver is just over here doing its own thing based on priority settings. iconic behaviour honestly 😭

fr fr: don't expect this call to flip the switch for i40e β€” the priority settings run the show. πŸ‘‘

🌈 SEE ALSO 🌈

like, the whole friend group showed up. squad goals 🧚✨


mwah, that's the page! this lil cutie lives in ./drivers/net/ethernet/intel/i40e, and this edition was dated October 2026 β€” go off, October 2026, you ate πŸ’…πŸ“

πŸ“¦ where this page comes from