i40e_get_priv_flags(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… NAME

i40e_get_priv_flags β€” bestie, this one literally just reports the device private flags ✨ (this is from the Kernel API Manual, for the record)


✨ SYNOPSIS ✨

u32 i40e_get_priv_flags (struct net_device *dev );

🫢 ARGUMENTS

  • dev β€” the network interface device structure. that's the whole vibe check for this one 🌸

πŸŽ€ DESCRIPTION πŸŽ€

okay so here's the tea β˜• β€” the get string set count and the string set have to be matched up for every single flag that gets returned. no cap, they're a pair, they ride together πŸ’–

and if you're adding a new flag? you also gotta add new strings for it to the i40e_gstrings_priv_flags array. that's the rule, periodt πŸ‘‘

it returns a u32 bitmap of flags β€” that's it, that's the whole function, iconic behavior honestly πŸ”₯


πŸ¦‹ SEE ALSO πŸ¦‹

the main character file here is ./drivers/net/ethernet/intel/i40e/i40e_ethtool.c, and it's hanging with struct i40e_stats(9) plus this whole friend group 🫢:


ngl that see-also list is long enough to be its own group chat 😭 but every single one of them ate, no notes πŸ’œ

okay that's the whole page bestie, ily, go read your flags πŸŒˆπŸ’–

β€” this cutie came out of ./drivers/net/ethernet/intel/i40e, October 2026 edition, and it's i40e_get_priv_flags(9) in case you forgot already πŸŽ€βœ¨

πŸ“¦ where this page comes from