i40e_set_features(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

🌸 NAME 🌸

i40e_set_features β€” bestie, this is the one that sets the netdev feature flags πŸ’… (and yeah, it lives in the Kernel API Manual, iykyk πŸŽ€)


✨ SYNOPSIS ✨

int i40e_set_features (struct net_device *netdev , netdev_features_t
       features );

πŸ¦‹ ARGUMENTS πŸ¦‹

  • netdev β€” a ptr to the netdev being adjusted, like the actual network device we're messing with πŸ’–
  • features β€” the feature set that the stack is suggesting πŸ‘€ so it's a suggestion, we're not out here inventing features on our own

πŸ”₯ NOTE πŸ”₯

ok so this is important, do NOT skip: it expects to be called while under rtnl_lock πŸ”’ like the function literally assumes you're already holding that lock, no cap. Not our problem to grab it for you πŸ™ˆ

πŸ’œ SEE ALSO πŸ’œ

Kernel file: ./drivers/net/ethernet/intel/i40e/i40e_main.c πŸ“

and then, like, the whole entire i40e friend group 🌈 literally all of them, here they are, every single one, I did not skip a single bestie:


okay that's the whole page bestie, you ate that 🫢✨

And for the cute sign-off: this one's straight out of ./drivers/net/ethernet/intel/i40e, dated October 2026, and it's literally the i40e_set_features(9) page πŸ’– the manual's giving main character energy, periodt πŸŽ€

πŸ“¦ where this page comes from